Browse Source

types: allow binding any value to SelectElement (#4575)

Wouter Kettlitz 4 years ago
parent
commit
6171aecdcd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/runtime-dom/types/jsx.d.ts

+ 1 - 1
packages/runtime-dom/types/jsx.d.ts

@@ -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 {