File tree Expand file tree Collapse file tree 12 files changed +92
-85
lines changed Expand file tree Collapse file tree 12 files changed +92
-85
lines changed Original file line number Diff line number Diff line change 41
41
| `` placeholder `` | ` string ` | - | 输入占位符。 |
42
42
| `` clearable `` | ` boolean ` | ` false ` | 是否显示清除按钮。 |
43
43
| `` composition `` | ` boolean ` | ` false ` | 是否感知输入法输入过程的值。 |
44
+ | `` autofocus `` | ` boolean ` | ` false ` | 是否自动获取焦点。 |
44
45
| `` select-on-focus `` | ` boolean ` | ` false ` | 聚焦时是否自动选中输入框文本。 |
45
46
| `` maxlength `` | ` number ` | - | 输入字符串的长度限制。 |
46
47
| `` strict `` | `boolean | Object` | ` false ` | [ ^ strict ] |
47
48
| `` get-length `` | ` function(string): number ` | 自定义的字符长度计算函数。 |
48
49
| `` trim `` | `boolean | string` | ` false ` | [ ^ trim ] |
49
- | `` autofocus `` | ` boolean ` | ` false ` | 是否自动获取焦点。 |
50
50
| `` overlay-class `` | `string | Array | Object` | - | 参考 [ ` Overlay ` ] ( ./overlay ) 组件的 [ ` overlay-class ` ] ( ./overlay#props-overlay-class ) 属性。 |
51
51
| `` overlay-style `` | `string | Array | Object` | - | 参考 [ ` Overlay ` ] ( ./overlay ) 组件的 [ ` overlay-style ` ] ( ./overlay#props-overlay-style ) 属性。 |
52
52
Original file line number Diff line number Diff line change 46
46
| `` placeholder `` | ` string ` | - | 输入占位符。 |
47
47
| `` clearable `` | ` boolean ` | ` false ` | 是否显示清除按钮。 |
48
48
| `` composition `` | ` boolean ` | ` false ` | 是否感知输入法输入过程的值。 |
49
+ | `` autofocus `` | ` boolean ` | ` false ` | 输入框是否自动聚焦。 |
49
50
| `` select-on-focus `` | ` boolean ` | ` false ` | 聚焦时是否自动选中输入框文本。 |
50
51
| `` maxlength `` | ` number ` | - | 最大可输入的字符长度。 |
51
52
| `` get-length `` | ` function(string): number ` | - | 自定义的字符长度计算函数。 |
Original file line number Diff line number Diff line change 39
39
| `` readonly `` | ` boolean ` | ` false ` | 数字输入框是否为只读状态。 |
40
40
| `` disabled `` | ` boolean ` | ` false ` | 数字输入框是否为禁用状态。 |
41
41
| `` placeholder `` | ` string ` | - | 输入占位符。 |
42
+ | `` autofocus `` | ` boolean ` | ` false ` | 数字输入框是否自动聚焦。 |
42
43
| `` select-on-focus `` | ` boolean ` | ` false ` | 聚焦时是否自动选中数字输入框文本。 |
43
44
| `` max `` | ` number ` | - | 允许的最大值。 |
44
45
| `` min `` | ` number ` | - | 允许的最小值。 |
Original file line number Diff line number Diff line change 37
37
| `` clearable `` | ` boolean ` | ` false ` | 是否显示清除按钮。 |
38
38
| `` select-on-focus `` | ` boolean ` | ` false ` | 聚焦时是否自动选择文本。 |
39
39
| `` composition `` | ` boolean ` | ` false ` | 是否感知输入法状态。 |
40
+ | `` autofocus `` | ` boolean ` | ` false ` | 是否自动聚焦。 |
40
41
| `` suggestions `` | `Array<string >| Array<Object >` | - | [ ^ suggestions ] |
41
42
| `` replace-on-select `` | ` boolean ` | ` true ` | 选择推荐项时是否自动使用其内容填充文本框。 |
42
43
| `` maxlength `` | ` number ` | - | 最大可输入的字符长度。 |
Original file line number Diff line number Diff line change 57
57
| `` readonly `` | ` boolean ` | ` false ` | 标签输入框是否为只读状态。 |
58
58
| `` placeholder `` | ` string ` | - | 输入占位符。 |
59
59
| `` clearable `` | ` boolean ` | ` false ` | 是否显示清除按钮。 |
60
+ | `` autofocus `` | ` boolean ` | ` false ` | 是否自动聚焦。 |
60
61
| `` maxlength `` | ` number ` | - | 最大可输入的字符长度。 |
61
62
| `` max `` | ` number ` | - | 允许输入的标签数上限。 |
62
63
| `` strict `` | `boolean | Object` | ` false ` | [ ^ strict ] |
Original file line number Diff line number Diff line change @@ -41,12 +41,12 @@ Set the [`match`](#props-match) prop to customize highlight logic and the [`filt
41
41
| `` placeholder `` | ` string ` | - | The placeholder text. |
42
42
| `` clearable `` | ` boolean ` | ` false ` | Whether to show the clear button. |
43
43
| `` composition `` | ` boolean ` | ` false ` | Whether to perceive the value during the input method editor (IME) input process. |
44
+ | `` autofocus `` | ` boolean ` | ` false ` | Whether to automatically focus the input. |
44
45
| `` select-on-focus `` | ` boolean ` | ` false ` | Whether to automatically select the input box text when focused. |
45
46
| `` maxlength `` | ` number ` | - | The maximum length of the input string. |
46
47
| `` strict `` | `boolean | Object` | ` false ` | [ ^ strict ] |
47
48
| `` get-length `` | ` function(string): number ` | A custom function to calculate the length of characters. |
48
49
| `` trim `` | `boolean | string` | ` false ` | [ ^ trim ] |
49
- | `` autofocus `` | ` boolean ` | ` false ` | Whether to automatically focus the input. |
50
50
| `` overlay-class `` | `string | Array | Object` | - | Refers to the [ ` overlay-class ` ] ( ./overlay#props-overlay-class ) prop of the [ ` Overlay ` ] ( ./overlay ) component. |
51
51
| `` overlay-style `` | `string | Array | Object` | - | Refers to the [ ` overlay-style ` ] ( ./overlay#props-overlay-style ) prop of the [ ` Overlay ` ] ( ./overlay ) component. |
52
52
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ Set the [`trim`](#props-trim) prop to automatically remove leading and trailing
46
46
| `` placeholder `` | ` string ` | - | Placeholder text for the input field. |
47
47
| `` clearable `` | ` boolean ` | ` false ` | Whether to show the clear button. |
48
48
| `` composition `` | ` boolean ` | ` false ` | Whether to handle input composition. |
49
+ | `` autofocus `` | ` boolean ` | ` false ` | Whether to autofocus the input. |
49
50
| `` select-on-focus `` | ` boolean ` | ` false ` | Whether to select the input field text on focus. |
50
51
| `` maxlength `` | ` number ` | - | The maximum length of input characters. |
51
52
| `` get-length `` | ` function(string): number ` | - | Custom function to calculate the length of input characters. |
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ Set the [`step`](#props-step) prop to specify the value of each increment/decrem
39
39
| `` readonly `` | ` boolean ` | ` false ` | Whether the number input box is in readonly state. |
40
40
| `` disabled `` | ` boolean ` | ` false ` | Whether the number input box is disabled. |
41
41
| `` placeholder `` | ` string ` | - | Input placeholder. |
42
+ | `` autofocus `` | ` boolean ` | ` false ` | Whether to autofocus the number input. |
42
43
| `` select-on-focus `` | ` boolean ` | ` false ` | Whether to automatically select the text in the number input box when focused. |
43
44
| `` max `` | ` number ` | - | The maximum allowed value. |
44
45
| `` min `` | ` number ` | - | The minimum allowed value. |
Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ Available [`ui`](#props-ui) prop values: `xs` / `s` / `m` / `l`.
33
33
| `` disabled `` | ` boolean ` | ` false ` | Whether the input is disabled. |
34
34
| `` readonly `` | ` boolean ` | ` false ` | Whether the input is read-only. |
35
35
| `` placeholder `` | ` string ` | - | Placeholder text of the search box. |
36
- | `` autofocus `` | ` boolean ` | ` false ` | Whether the input is autofocus. |
37
36
| `` clearable `` | ` boolean ` | ` false ` | Whether to show the clear button. |
38
37
| `` select-on-focus `` | ` boolean ` | ` false ` | Whether to select text on focus. |
39
38
| `` composition `` | ` boolean ` | ` false ` | Whether to enable composition mode. |
39
+ | `` autofocus `` | ` boolean ` | ` false ` | Whether the input is autofocus. |
40
40
| `` suggestions `` | `Array<string >| Array<Object >` | - | [ ^ suggestions ] |
41
41
| `` replace-on-select `` | ` boolean ` | ` true ` | Whether to replace input with selected suggestion. |
42
42
| `` maxlength `` | ` number ` | - | Maximum length of input. |
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ Use the [`tag`](#slots-tag) slot to customize the display of tags.
57
57
| `` readonly `` | ` boolean ` | ` false ` | Whether the tag input is read-only. |
58
58
| `` placeholder `` | ` string ` | - | Input placeholder. |
59
59
| `` clearable `` | ` boolean ` | ` false ` | Whether to show the clear button. |
60
+ | `` autofocus `` | ` boolean ` | ` false ` | Whether to autofocus the tag input. |
60
61
| `` maxlength `` | ` number ` | - | The maximum number of characters that can be entered. |
61
62
| `` max `` | ` number ` | - | The maximum number of tags that can be added. |
62
63
| `` strict `` | `boolean | Object` | ` false ` | [ ^ strict ] |
You can’t perform that action at this time.
0 commit comments