From: shuang <58057732+eamd-wq@users.noreply.github.com> Date: Tue, 18 Nov 2025 00:33:44 +0000 (+0800) Subject: types(jsx): correct the naming of the enterKeyHint property (#14090) X-Git-Tag: v3.5.25~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f40baa2d506db4d13a17e64401774cb1e138cd33;p=thirdparty%2Fvuejs%2Fcore.git types(jsx): correct the naming of the enterKeyHint property (#14090) --- diff --git a/packages/runtime-dom/src/jsx.ts b/packages/runtime-dom/src/jsx.ts index 3d09278a77..eb43ccb4be 100644 --- a/packages/runtime-dom/src/jsx.ts +++ b/packages/runtime-dom/src/jsx.ts @@ -547,7 +547,7 @@ export interface InputHTMLAttributes extends HTMLAttributes { checked?: Booleanish | any[] | Set | 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