-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Fix react-select ignoring HTML5 "form" attribute #3892
New issue
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
Conversation
Reference for the "form" attribute https://devdocs.io/html/element/input#form
🦋 Changeset is good to goLatest commit: aadc77d We got this. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Hey @MrLeebo! Thanks for the PR. We also need to add
Lemme know if you need more info here. |
@flexdinesh Like so? |
That's it. Thanks @MrLeebo! |
After we add |
Issue: react-select ignores the HTML5 "form" attribute, which you can use to specify which form element to submit when the user presses "Enter" while the Select has focus.
Repro: https://codesandbox.io/s/jovial-montalcini-7dppv
Steps:
Reference for the "form" attribute
https://devdocs.io/html/element/input#form