Doc: no values param in onFormSubmit callback if not return in resolver #7031
Labels
Component: Documentation
Issue or pull request is related to Documentation
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Describe the bug
In the Form documentation, I discovered that for submitHandler's args to include values, the resolver needs to return values - something I only learned by reading the source code. This important information should be noted in the documentation.
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
I couldn’t find where the code is located in the documentation.
Reproducer
https://stackblitz.com/edit/gxphrkc5?file=src%2FApp.vue
Environment
In a normal macOS Chrome browser
Vue version
3.5.13
PrimeVue version
4.2.5
Node version
v20.18.1
Browser(s)
macOS 15.2, chrome 131.0.6778.205 (arm64)
Steps to reproduce the behavior
Expected behavior
It would be great if this subtle point could be reflected in the documentation.
The text was updated successfully, but these errors were encountered: