chore: update input doc (#10650)

This commit is contained in:
0song 2022-11-18 14:17:11 +08:00 committed by GitHub
parent 8b974f1da0
commit 04f131be4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,7 +127,7 @@ input/length-limiting
| minlength | same as `minlength` in native input | ^[number] | — |
| show-word-limit | whether show word count, only works when `type` is 'text' or 'textarea' | ^[boolean] | false |
| placeholder | placeholder of Input | ^[string] | — |
| clearable | whether to show clear button | ^[boolean] | false |
| clearable | whether to show clear button, only works when `type` is not 'textarea' | ^[boolean] | false |
| formatter | specifies the format of the value presented input.(only works when `type` is 'text') | ^[Function]`(value: string \| number) => string` | — |
| parser | specifies the value extracted from formatter input.(only works when `type` is 'text') | ^[Function]`(value: string) => string` | — |
| show-password | whether to show toggleable password input | ^[boolean] | false |