docs: update version tag
This commit is contained in:
+17
-17
@@ -62,23 +62,23 @@ Use `action` slot to custom right button, `cancel` event will no longer be trigg
|
||||
|
||||
### Props
|
||||
|
||||
| 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` | - |
|
||||
| autofocus | Whether to auto focus, unsupported in iOS | *boolean* | `false` | - |
|
||||
| show-action | Whether to show right action button | *boolean* | `false` | - |
|
||||
| action-text | Text of action button | *boolean* | `Cancel` | 2.2.2 |
|
||||
| disabled | Whether to disable field | *boolean* | `false` | - |
|
||||
| readonly | Whether to be readonly | *boolean* | `false` | - |
|
||||
| error | Whether to show error info | *boolean* | `false` | - |
|
||||
| input-align | Text align of field, can be set to `center` `right` | *string* | `left` | - |
|
||||
| left-icon | Left icon name | *string* | `search` | - |
|
||||
| right-icon | Right icon name | *string* | - | - |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| 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` |
|
||||
| autofocus | Whether to auto focus, unsupported in iOS | *boolean* | `false` |
|
||||
| show-action | Whether to show right action button | *boolean* | `false` |
|
||||
| action-text `v2.2.2` | Text of action button | *boolean* | `Cancel` |
|
||||
| disabled | Whether to disable field | *boolean* | `false` |
|
||||
| readonly | Whether to be readonly | *boolean* | `false` |
|
||||
| error | Whether to show error info | *boolean* | `false` |
|
||||
| input-align | Text align of field, 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