fix(input): showCount type 文档

pull/8041/head
zhiqiangchen 2025-02-14 11:31:59 +08:00
parent 00d4e02a0a
commit 4dd915e0c5
1 changed files with 2 additions and 2 deletions

View File

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