Password: add "@change" event #4219
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Describe the bug
The
<Password>
component does not react to@change
events.(#2610 hints that apparently it once used to.)
Reproducer
https://codesandbox.io/s/muddy-frost-9rjfdy?file=/src/App.vue
PrimeVue version
3.31.0
Vue version
3.x
Language
ALL
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
See my Stackblitz link for an example.
Basically, "@change" events do nothing on a
<Password>
component tag.(Looks like a potential regression given that #2610 claims it was fixed in Primevue 2.x)
Expected behavior
I expect the event to trigger when clicking away or when pressing enter inside the element.
The text was updated successfully, but these errors were encountered: