[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
+2 -1
View File
@@ -120,7 +120,8 @@ Filed support all native properties of input tagsuch as `maxlength`、`placeh
| error | Whether to show error info | `Boolean` | `false` |
| error-message | Error message | `String` | `''` |
| autosize | Textarea auto resizecan accpet an object, e.g. { maxHeight: 100, minHeight: 50 } | `Boolean | Object` | `false` |
| icon | Right side Icon name | `String` | - |
| icon | Right side icon name | `String` | - |
| left-icon | Left side icon name | `String` | - |
### Event
Filed support all native events of input tagsuch as `focus`、`blur`、`keypress`