Browse Source

Fix briefly confusing typo

There are two examples of a text input with initial value  of "Hello!" on this page, a controlled and an uncontrolled. The explanation for the uncontrolled version mistakenly says it works much like the earlier "uncontrolled" example, but the earlier example was the controlled version.
main
Michael Terry 9 years ago
parent
commit
ceec4829b7
  1. 2
      docs/07-forms.md

2
docs/07-forms.md

@ -102,7 +102,7 @@ If you want to initialize the component with a non-empty value, you can supply a
}
```
This example will function much like the **Uncontrolled Components** example above.
This example will function much like the **Controlled Components** example above.
Likewise, `<input type="checkbox">` and `<input type="radio">` support `defaultChecked`, and `<select>` supports `defaultValue`.

Loading…
Cancel
Save