Add name or id to input element of Checkbox #2439
-
In Chrome dev tools under the issues tab I get the warning "A form field element should have an id or name attribute" for all Checkbox components. How can I set a name or id for the hidden input element (not the button)? Edit: I have the same issue with the Select component. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
If you pass a |
Beta Was this translation helpful? Give feedback.
-
I am having the issue with the |
Beta Was this translation helpful? Give feedback.
If you pass a
name
to it, it will be added to that nativeinput
when inside aform
.