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
headlessui/packages/@headlessui-react/src/components/combobox/combobox.tsx
Line 1309 in 5eb3b12
Based on the line above and the preceding comment, it looks like when the user clears the input value, there is an onChange event fired.
onChange
Is there a reason for this? I would have thought that the input value and the selected option concerns should be different.
Why would we want to trigger an onChange and send null when the user is just typing and clearing the input field?
null
The text was updated successfully, but these errors were encountered:
No branches or pull requests
headlessui/packages/@headlessui-react/src/components/combobox/combobox.tsx
Line 1309 in 5eb3b12
Based on the line above and the preceding comment, it looks like when the user clears the input value, there is an
onChange
event fired.Is there a reason for this? I would have thought that the input value and the selected option concerns should be different.
Why would we want to trigger an
onChange
and sendnull
when the user is just typing and clearing the input field?The text was updated successfully, but these errors were encountered: