mirror of
https://github.com/youzan/vant.git
synced 2025-12-18 02:06:02 +08:00
docs: add desc of autofocus prop (#5111)
This commit is contained in:
@@ -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` | - |
|
||||
|
||||
Reference in New Issue
Block a user