]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
types(jsx): correct the naming of the enterKeyHint property (#14090)
authorshuang <58057732+eamd-wq@users.noreply.github.com>
Tue, 18 Nov 2025 00:33:44 +0000 (08:33 +0800)
committerGitHub <noreply@github.com>
Tue, 18 Nov 2025 00:33:44 +0000 (08:33 +0800)
packages/runtime-dom/src/jsx.ts

index 3d09278a778fb471bedbb1ffd1299e25444228e1..eb43ccb4be28a0803acf3f4b016988f0b2a553a8 100644 (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