Forms
Uncontrolled input defaults
Use defaultValue or defaultChecked for a browser-managed initial field value.
Formal Syntax & Structure
react syntaxreact
<input name="title" defaultValue="Read" />Working Example
Example Snippetreact
<input type="checkbox" defaultChecked={true} />