Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/docs/forms.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ The selected `<option>` in an HTML `<select>` is normally specified through that
<option value="C">Cranberry</option>
</select>
```
As you can see, the `value="B"` attribute on the select tag sets the current value of the select.

To make an uncontrolled component, `defaultValue` is used instead.

Expand Down