-
-
Notifications
You must be signed in to change notification settings - Fork 458
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
Support Missing name
prop for <Select>
#790
Comments
This was referenced Jul 12, 2022
cliffordfajardo
changed the title
Support Missing name prop for <Select>
Support Missing Jul 12, 2022
name
prop for <Select>
This was referenced Jul 14, 2022
Closing this PR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi team,
Reproduction link (click button below)
Summary
Allow
name
prop to be passed to<Select>
What is the bug?
You cannot pass
name
prop to<Select>
Stackblitz code example: https://stackblitz.com/edit/react-ts-zfrvws?file=App.tsx
Motivation for Change
<Input>
( https://github.com/react-component/input) which supports passingname
prop, which allows follows standard HTML behavior/expectations<select>
is allowed to have aname
attribute (Specification docs)What is the expected behavior?
name
prop to<Select>
element. The namename
prop, should get passed down to theinput
element that gets rendered in the DOM.name
prop that is passed into<Select>
gets passed down to<Input>
?Related
name
prop to be passed to<Select>
#793The text was updated successfully, but these errors were encountered: