docs(Search): update prop (#4879)

This commit is contained in:
neverland
2019-10-30 19:32:21 +08:00
committed by GitHub
parent 43379d20b3
commit f856bcae74
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -62,13 +62,13 @@ Use `action` slot to custom right button, `cancel` event will no longer be trigg
### Props
Search support all native properties of input tagsuch as `maxlength`、`placeholder`、`autofocus`
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| label | Left side label | *string* | - | - |
| shape | Shape of field, can be set to `round` | *string* | `square` | - |
| background | Background color of field | *string* | `#f2f2f2` | - |
| maxlength | Max length of value | *string \| number* | - | - |
| placeholder | Placeholder | *string* | - | - |
| clearable | Whether to be clearable | *boolean* | `true` | - |
| show-action | Whether to show right action button | *boolean* | `false` | - |
| action-text | Text of action button | *boolean* | `Cancel` | 2.2.2 |