[new feature] Field: add clearable prop

This commit is contained in:
陈嘉涵
2019-05-31 19:09:19 +08:00
parent d8803abf9f
commit a8a18505a6
6 changed files with 11 additions and 4 deletions
+2 -1
View File
@@ -130,8 +130,9 @@ Field support all native properties of input tagsuch as `maxlength`、`placeh
| border | Whether to show inner border | `Boolean` | `true` |
| disabled | Whether to disable field | `Boolean` | `false` |
| readonly | Whether to be readonly | `Boolean` | `false` |
| required | Whether to show required mark | `Boolean` | `false` |
| clearable | Whether to be clearable | `Boolean` | `false` |
| required | Whether to show required mark | `Boolean` | `false`
| clickable | Whether to show click feedback when clicked | `Boolean` | `false` |
| is-link | Whether to show link icon | `Boolean` | `false` |
| error | Whether to show error info | `Boolean` | `false` |
| error-message | Error message | `String` | `''` |