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 d75537d commit 52cbab6Copy full SHA for 52cbab6
src/content/reference/react-dom/components/select.md
@@ -70,7 +70,7 @@ title: "<select>"
70
71
- 与 HTML 不同,在 `<option>` 上传递 `selected` 属性将不受支持。你应该使用 [`<select defaultValue>`](#providing-an-initially-selected-option) 处理非受控选择框;而使用 [`<select value>`](#controlling-a-select-box-with-a-state-variable) 处理受控选择框。
72
- 如果选择框收到 `value` 属性,它将被视为 [受控组件](#controlling-a-select-box-with-a-state-variable)。
73
-- 选择框不能同时受控与非受控的。
+- 选择框不能同时受控与非受控。
74
- 选择框在其生命周期内无法在受控与非受控之间切换。
75
- 每个受控选择框都需要 `onChange` 事件处理程序,它会同步更新其后备值。
76
0 commit comments