]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
types: allow binding any value to SelectElement (#4575)
authorWouter Kettlitz <W.Kettlitz@pm.me>
Tue, 21 Sep 2021 16:34:25 +0000 (18:34 +0200)
committerGitHub <noreply@github.com>
Tue, 21 Sep 2021 16:34:25 +0000 (12:34 -0400)
packages/runtime-dom/types/jsx.d.ts

index 87580d7f200968fa0a564537aeaa6b7ddf9d3f7b..f365e4581498c0849d69b0fbc2d1a6dbfa25eb0f 100644 (file)
@@ -624,7 +624,7 @@ export interface SelectHTMLAttributes extends HTMLAttributes {
   name?: string
   required?: Booleanish
   size?: Numberish
-  value?: string | string[] | number
+  value?: any // we support :value to be bound to anything w/ v-model
 }
 
 export interface SourceHTMLAttributes extends HTMLAttributes {