The update:model-value event in the InputNumber component isn't working as expected. It only triggers on blur or when pressing Enter, instead of triggering when the value changes. #6241
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
The update:model-value event in the InputNumber component isn't working as expected. It only triggers on blur or when pressing Enter, instead of triggering when the value changes.
When we press TAB the update:model-value is triggered two times.
If we press Enter the update:model-value is triggered too.
Reproducer
https://stackblitz.com/edit/primevue-4-ts-vite-issue-template-6gf5np?file=src%2FApp.vue
PrimeVue version
4.0.4
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
Brave/Edge
Steps to reproduce the behavior
Import and use the InputNumber and try to use the update:model-value event.
Expected behavior
Like the other inputs, I believe the expected behavior is for the update event to trigger each time the input value changes.
The text was updated successfully, but these errors were encountered: