[Improvement] Field: add left-icon prop (#1092)

This commit is contained in:
neverland
2018-05-17 18:03:41 +08:00
committed by GitHub
parent e73e950662
commit 178b188439
5 changed files with 123 additions and 6 deletions
+1
View File
@@ -123,6 +123,7 @@ Filed 默认支持 Input 标签所有的原生属性,比如 `maxlength`、`pla
| error-message | 底部错误提示文案 | `String` | `''` |
| autosize | 自适应内容高度,只对 textarea 有效,可传入对象,如 { maxHeight: 100, minHeight: 50 },单位为 px | `Boolean | Object` | `false` |
| icon | 输入框尾部图标 (可选值见 Icon 组件) | `String` | - |
| left-icon | 输入框左侧图标 (可选值见 Icon 组件) | `String` | - |
### Event
Filed 默认支持 Input 标签所有的原生事件,如 `focus`、`blur`、`keypress` 等