[new feature] Search: add right-icon prop
This commit is contained in:
@@ -68,7 +68,6 @@ Search support all native properties of input tag,such as `maxlength`、`place
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| label | Search label | `String` | - |
|
||||
| left-icon | Left icon name | `String` | `search` |
|
||||
| shape | Can be set to `round` | `String` | `square` |
|
||||
| background | Background color | `String` | `#f2f2f2` |
|
||||
| show-action | Whether to show right button | `Boolean` | `false` |
|
||||
@@ -76,6 +75,8 @@ Search support all native properties of input tag,such as `maxlength`、`place
|
||||
| readonly | Whether to be readonly | `Boolean` | `false` |
|
||||
| error | Whether to show error info | `Boolean` | `false` |
|
||||
| input-align | Input text align, can be set to `center` `right` | `String` | `left` |
|
||||
| left-icon | Left icon name | `String` | `search` |
|
||||
| right-icon | Right icon name | `String` | - |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user