Skip to content

Commit f0a9793

Browse files
[Docs] Apply the code Markdown syntax for the value prop (#3912)
1 parent dcb2466 commit f0a9793

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/forms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ Also, since `setState()` automatically [merges a partial state into the current
270270

271271
## Controlled Input Null Value {#controlled-input-null-value}
272272

273-
Specifying the value prop on a [controlled component](/docs/forms.html#controlled-components) prevents the user from changing the input unless you desire so. If you've specified a `value` but the input is still editable, you may have accidentally set `value` to `undefined` or `null`.
273+
Specifying the `value` prop on a [controlled component](/docs/forms.html#controlled-components) prevents the user from changing the input unless you desire so. If you've specified a `value` but the input is still editable, you may have accidentally set `value` to `undefined` or `null`.
274274

275275
The following code demonstrates this. (The input is locked at first but becomes editable after a short delay.)
276276

0 commit comments

Comments
 (0)