docs(Search): update prop (#4879)
This commit is contained in:
@@ -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 tag,such 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 |
|
||||
|
||||
Reference in New Issue
Block a user