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.
Michael Terry committed
Apr 6, 2016 at 15:57 UTC
edbe10309435b208b4a8b28148c14549961b9545
1 file changed
+1
-1
docs/docs/07-forms.md
+1
-1
@@ -102,7 +102,7 @@ If you want to initialize the component with a non-empty value, you can supply a
102
}
103
```
104
105
-This example will function much like the **Uncontrolled Components** example above.
105
+This example will function much like the **Controlled Components** example above.
106
107
Likewise, `<input type="checkbox">` and `<input type="radio">` support `defaultChecked`, and `<select>` supports `defaultValue`.
108