primevue
primevue copied to clipboard
Form: reset not working, changed value not update input
Describe the bug
PrimeVue Form reset not working.
On call $form.reset()
form states correctly (reseted).
But not input value.
It also updates the states, but does not update the input:
$form.username.value = 'NEW VALUE'
dependencies
"dependencies": {
// ...
"@primevue/forms": "^4.2.1",
"@primevue/themes": "^4.2.1",
"primevue": "^4.2.1",
"vue": "^3.5.12",
// ...
}
Reproducer
https://stackblitz.com/edit/eszbvm?file=src%2FApp.vue
PrimeVue version
4.2.1
Vue version
3.x
Language
ALL
Build / Runtime
Vite
Browser(s)
Chrome 130
Steps to reproduce the behavior
No response
Expected behavior
No response