You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When writing form components, I noticed that the FormSubmitEvent type has a values property that's simply Record<string, any>. I want to make it more flexible using a generic type like values: T.
Describe the bug
When writing form components, I noticed that the FormSubmitEvent type has a values property that's simply Record<string, any>. I want to make it more flexible using a generic type like values: T.
Pull Request Link
#7287
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://stackblitz.com/edit/primevue-4-vite-issue-template-v5kacsqm
Environment
this is just a missing type
Vue version
3.5.13
PrimeVue version
4.2.5
Node version
No response
Browser(s)
No response
Steps to reproduce the behavior
Adding a submit event
Expected behavior
Add generic type T to FormSubmitEvent to represent the values type
The text was updated successfully, but these errors were encountered: