We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Could you please add formattedValue to your type declarations
https://github.com/primefaces/primevue/blob/master/components/lib/inputnumber/InputNumber.d.ts#L65
/** * Custom input event. * @see {@link InputNumberEmits.input} */ export interface InputNumberInputEvent { /** * Browser event */ originalEvent: Event; /** * New value */ value: string | number | undefined; }
Your component always adds it https://github.com/primefaces/primevue/blob/master/components/lib/inputnumber/InputNumber.vue#L781
this.$emit('input', { originalEvent: event, value: newValue, formattedValue: currentValue });
same goes for InputNumberBlurEvent
InputNumberBlurEvent
not required
3.5.0 (all)
3.x
TypeScript
No response
The text was updated successfully, but these errors were encountered:
fix: primefaces#5433 InputNumberBlurEvent not type formattedValue
eb12287
f3c71bc
Merge pull request #5617 from xxx123123/master
1a2d33a
fix: #5433 add formattedValue type
Successfully merging a pull request may close this issue.
Describe the bug
Could you please add formattedValue to your type declarations
https://github.com/primefaces/primevue/blob/master/components/lib/inputnumber/InputNumber.d.ts#L65
Your component always adds it https://github.com/primefaces/primevue/blob/master/components/lib/inputnumber/InputNumber.vue#L781
same goes for
InputNumberBlurEvent
Reproducer
not required
PrimeVue version
3.5.0 (all)
Vue version
3.x
Language
TypeScript
Build / Runtime
TypeScript
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: