Answers for "error: input is a void element tag and must neither have `children` nor use `dangerouslysetinnerhtml`. chakra ui"

4

Error: input is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.

Self closing 
Wrong:
<input></input
Correct:
<input/>

If you are using bootstrap:
Wrong:
<Form.Control></Form.Control>
Correct:
<Form.Control/>
Posted by: Guest on March-17-2021

Code answers related to "error: input is a void element tag and must neither have `children` nor use `dangerouslysetinnerhtml`. chakra ui"

Browse Popular Code Answers by Language