diff --git a/src/field/README.md b/src/field/README.md index 88d198148..c9f694505 100644 --- a/src/field/README.md +++ b/src/field/README.md @@ -152,6 +152,7 @@ Textarea Field can be auto resize when has `autosize` prop | clearable | Whether to be clearable | *boolean* | `false` | - | | clickable | Whether to show click feedback when clicked | *boolean* | `false` | - | | is-link | Whether to show link icon | *boolean* | `false` | - | +| autofocus | Whether to auto focus, unsupported in iOS | *boolean* | `false` | - | | show-word-limit | Whether to show word limit, need to set the `maxlength` prop | *boolean* | `false` | 2.2.8 | | error | Whether to show error info | *boolean* | `false` | - | | arrow-direction | Can be set to `left` `up` `down` | *string* | - | 2.0.4 | diff --git a/src/field/README.zh-CN.md b/src/field/README.zh-CN.md index e608206ce..54c81d89a 100644 --- a/src/field/README.zh-CN.md +++ b/src/field/README.zh-CN.md @@ -158,6 +158,7 @@ Vue.use(Field); | clearable | 是否启用清除控件 | *boolean* | `false` | - | | clickable | 是否开启点击反馈 | *boolean* | `false` | - | | is-link | 是否展示右侧箭头并开启点击反馈 | *boolean* | `false` | - | +| autofocus | 是否自动聚焦,iOS 系统不支持该属性 | *boolean* | `false` | - | | show-word-limit | 是否显示字数统计,需要设置`maxlength`属性 | *boolean* | `false` | 2.2.8 | | error | 是否将输入内容标红 | *boolean* | `false` | - | | arrow-direction | 箭头方向,可选值为 `left` `up` `down` | *string* | - | 2.0.4 | diff --git a/src/search/README.md b/src/search/README.md index 4216b5066..924c1086a 100644 --- a/src/search/README.md +++ b/src/search/README.md @@ -70,6 +70,7 @@ Use `action` slot to custom right button, `cancel` event will no longer be trigg | maxlength | Max length of value | *string \| number* | - | - | | placeholder | Placeholder | *string* | - | - | | clearable | Whether to be clearable | *boolean* | `true` | - | +| autofocus | Whether to auto focus, unsupported in iOS | *boolean* | `false` | - | | show-action | Whether to show right action button | *boolean* | `false` | - | | action-text | Text of action button | *boolean* | `Cancel` | 2.2.2 | | disabled | Whether to disable field | *boolean* | `false` | - | diff --git a/src/search/README.zh-CN.md b/src/search/README.zh-CN.md index 02f3c4f1e..6d84c66c1 100644 --- a/src/search/README.zh-CN.md +++ b/src/search/README.zh-CN.md @@ -65,6 +65,7 @@ Search 组件提供了`search`和`cancel`事件,`search`事件在点击键盘 | maxlength | 输入的最大字符数 | *string \| number* | - | - | | placeholder | 占位提示文字 | *string* | - | - | | clearable | 是否启用清除控件 | *boolean* | `true` | - | +| autofocus | 是否自动聚焦,iOS 系统不支持该属性 | *boolean* | `false` | - | | show-action | 是否在搜索框右侧显示取消按钮 | *boolean* | `false` | - | | action-text | 取消按钮文字 | *boolean* | `取消` | 2.2.2 | | disabled | 是否禁用输入框 | *boolean* | `false` | - |