mirror of
https://github.com/youzan/vant.git
synced 2025-12-18 02:06:02 +08:00
docs: add version tip in en docs (#4262)
This commit is contained in:
@@ -64,14 +64,14 @@ Search 默认支持 Input 标签所有的原生属性,比如 `maxlength`、`pl
|
||||
| label | 搜索框左侧文本 | `string` | - | - |
|
||||
| shape | 形状,可选值为 `round` | `string` | `square` | - |
|
||||
| background | 搜索框背景色 | `string` | `#f2f2f2` | - |
|
||||
| clearable | 是否启用清除控件 | `boolean` | `true` | 2.0.0 |
|
||||
| clearable | 是否启用清除控件 | `boolean` | `true` | - |
|
||||
| show-action | 是否在搜索框右侧显示取消按钮 | `boolean` | `false` | - |
|
||||
| disabled | 是否禁用输入框 | `boolean` | `false` | - |
|
||||
| readonly | 是否将输入框设为只读 | `boolean` | `false` | - |
|
||||
| error | 是否将输入内容标红 | `boolean` | `false` | - |
|
||||
| input-align | 输入框内容对齐方式,可选值为 `center` `right` | `string` | `left` | - |
|
||||
| left-icon | 输入框左侧图标名称或图片链接,可选值见 Icon 组件 | `string` | `search` | 2.0.0 |
|
||||
| right-icon | 输入框右侧图标名称或图片链接,可选值见 Icon 组件 | `string` | - | 2.0.0 |
|
||||
| left-icon | 输入框左侧图标名称或图片链接,可选值见 Icon 组件 | `string` | `search` | - |
|
||||
| right-icon | 输入框右侧图标名称或图片链接,可选值见 Icon 组件 | `string` | - | - |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user