types(jsx): correct the naming of the enterKeyHint property (#14090)

This commit is contained in:
shuang 2025-11-18 08:33:44 +08:00 committed by GitHub
parent e9c676ff2b
commit f40baa2d50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -547,7 +547,7 @@ export interface InputHTMLAttributes extends HTMLAttributes {
checked?: Booleanish | any[] | Set<any> | undefined // for IDE v-model multi-checkbox support
crossorigin?: string | undefined
disabled?: Booleanish | undefined
enterKeyHint?:
enterkeyhint?:
| 'enter'
| 'done'
| 'go'
@ -556,6 +556,10 @@ export interface InputHTMLAttributes extends HTMLAttributes {
| 'search'
| 'send'
| undefined
/**
* @deprecated Use `enterkeyhint` instead.
*/
enterKeyHint?: InputHTMLAttributes['enterkeyhint']
form?: string | undefined
formaction?: string | undefined
formenctype?: string | undefined