-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forms: The form reset function doesn't work correctly. No component refresh #6873
Comments
When formData.title is changed externally, it is not updated. $form.title is not updating. |
And, please, add a |
I found a temporary way to update a component value with visible change. It could be a clue to the bug fix.
|
Fixed in #6755 |
This issue has been marked as a duplicate and has been closed. Please refer to the original issue for updates. Thank you! |
Describe the bug
All form components doesn't refresh presentation and do not call resolver. Form field values have changed , but the representation is same. After reset we MUST call resolver to update states!
In 4.2.3 same.
Reproducer
https://stackblitz.com/edit/u1atdw?file=src%2FApp.vue
PrimeVue version
4.2.2
Vue version
4.x
Language
ES6
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Enter a text. Click the button. Form field value has changed (see console
output), but the representation is same. And after reset we MUST call
resolver to update states!
Expected behavior
No response
The text was updated successfully, but these errors were encountered: