[new feature] Search: add clearable prop

This commit is contained in:
陈嘉涵
2019-05-28 09:24:26 +08:00
parent c0e2ce200e
commit 46a051cb05
4 changed files with 10 additions and 2 deletions
+1
View File
@@ -70,6 +70,7 @@ Search support all native properties of input tagsuch as `maxlength`、`place
| label | Search label | `String` | - |
| shape | Can be set to `round` | `String` | `square` |
| background | Background color | `String` | `#f2f2f2` |
| clearable | Whether to be clearable | `Boolean` | `true` |
| show-action | Whether to show right button | `Boolean` | `false` |
| disabled | Whether to disable field | `Boolean` | `false` |
| readonly | Whether to be readonly | `Boolean` | `false` |