InputOtp: Emit Options parameter type #6995
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
I think some of emit options have wrong parameter type. They should be have string type, not boolean type in case of 'update:modelValue' and 'value-change'. 'change' event also should change type from 'Event' to like 'InputOtpChangeEvent'.
Reproducer
.
PrimeVue version
4.2.5
Vue version
3.x
Language
TypeScript
Build / Runtime
Nuxt
Browser(s)
chrome latest
Steps to reproduce the behavior
No response
Expected behavior
'update:modelValue'(value: string): void;
'value-change'(value: string): void;
change(event: InputOtpChangeEvent): void;
The text was updated successfully, but these errors were encountered: