@@ -29,7 +29,7 @@ A basic widget for getting the user input is a text field. Keyboard and mouse ca
2929| id | The ID for input | string | | |
3030| maxlength | max length | number | | 1.5.0 |
3131| prefix | The prefix icon for the Input. | string\| slot | | |
32- | showCount | Whether show text count | boolean | false | 3.0 |
32+ | showCount | Whether show text count | boolean \| { formatter: (info: { value: string, count: number, maxLength?: number }) => string | false | 3.0 |
3333| status | Set validation status | 'error' \| 'warning' | - | 3.3.0 |
3434| size | The size of the input box. Note: in the context of a form, the ` middle ` size is used. Available: ` large ` ` middle ` ` small ` | string | - | |
3535| suffix | The suffix icon for the Input. | string\| slot | | |
@@ -52,7 +52,7 @@ A basic widget for getting the user input is a text field. Keyboard and mouse ca
5252| allowClear | allow to remove input content with clear icon | boolean | | 1.5.0 | |
5353| autosize | Height autosize feature, can be set to `true | false` or an object ` { minRows: 2, maxRows: 6 }` | boolean\| object | false | |
5454| defaultValue | The initial input content | string | | | |
55- | showCount | Whether show text count | boolean | false | | |
55+ | showCount | Whether show text count | boolean \| { formatter: (info: { value: string, count: number, maxLength?: number }) => string | false | | |
5656| value(v-model) | The input content value | string | | | |
5757
5858### TextArea Events
0 commit comments