Improve type definition for onChange of form components #1199
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeReact PRO Support where support is provided within 4 business hours
I'm submitting a ... (check one with "x")
Codesandbox Case (Bug Reports)
Please fork the codesandbox below and create a case demonstrating your bug report. Issues without a codesandbox have much less possibility to be reviewed.
https://codesandbox.io/s/qjx332qq4
Current behavior
The type definition of Dropdown omits the target object sent with onChange event.
Expected behavior
Dunno if it's purposeful, but for typescript users the target seens more natural ( event.target )
Minimal reproduction of the problem with instructions
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: