We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48ac3ff commit 93daaccCopy full SHA for 93daacc
src/content/reference/react-dom/components/input.md
@@ -34,7 +34,7 @@ title: "<input>"
34
35
[`formAction`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#formaction): 字符串或函数。设置了 `type="submit"` 或 `type="image"` 属性的 `input` 标签,会覆盖父表单对应属性 `<form action>`。当向 `formAction` 传递 URL 时,表单会表现为标准 HTML 表单;当传递函数时,该函数将处理表单提交。详见 [`<form action>`](/reference/react-dom/components/form#props)。
36
37
-你可以通过传递以下属性之来[使输入框成为受控组件](#controlling-an-input-with-a-state-variable):
+你可以通过传递以下属性之一来[使输入框成为受控组件](#controlling-an-input-with-a-state-variable):
38
39
* `checked`:布尔值,控制复选框或单选按钮是否被选中。
40
* `value`:字符串,控制文本框的输入文本(如果是单选按钮,则为其表单数据)。
0 commit comments