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
Within a plain html form we have a validation that works through the form's onChange event and respective callback method.
The NextUI components like Input trigger the onChange event of the form, however the Select component does not!
This is unexpected. The expectation is for it to behave the same as the native select component, i.e. trigger the onChange event.
See the attached example URL.
Yes, I have the same issue. The Select component not triggering the form's onChange event is unexpected. It should behave like the native select element for consistency with standard HTML behavior
NextUI Version
2.4.8
Describe the bug
Within a plain html form we have a validation that works through the form's
onChange
event and respective callback method.The NextUI components like
Input
trigger theonChange
event of the form, however theSelect
component does not!This is unexpected. The expectation is for it to behave the same as the native
select
component, i.e. trigger theonChange
event.See the attached example URL.
Thanks
Your Example Website or App
https://stackblitz.com/edit/vitejs-vite-vp1lwv?file=src%2FApp.tsx
Steps to Reproduce the Bug or Issue
onChange
is triggered and loggedonChange
Expected behavior
The NextUI's
Select
component should behave the same as the native one, i.e. trigger it's surrounding form.Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome
The text was updated successfully, but these errors were encountered: