docs: add desc of autofocus prop (#5111)

This commit is contained in:
neverland
2019-11-26 17:05:14 +08:00
committed by GitHub
parent a6a431e8c7
commit a6490ed7f5
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -70,6 +70,7 @@ Use `action` slot to custom right button, `cancel` event will no longer be trigg
| 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` | - |