Browse Source

fix broken link on controlled input tip

main
Paul O’Shannessy 11 years ago
parent
commit
679397f60e
  1. 2
      tips/08-controlled-input-null-value.md

2
tips/08-controlled-input-null-value.md

@ -7,7 +7,7 @@ prev: children-props-type.html
next: componentWillReceiveProps-not-triggered-after-mounting.html
---
Specifying the `value` prop on a [controlled component](/react/docs/tips/forms.html) prevents the user from changing the input unless you desire so.
Specifying the `value` prop on a [controlled component](/react/docs/forms.html) prevents the user from changing the input unless you desire so.
You might have run into a problem where `value` is specified, but the input can still be changed without consent. In this case, you might have accidentally set `value` to `undefined` or `null`.

Loading…
Cancel
Save