Skip to content

Commit

Permalink
fix(QInput): declare FileList as possible modelValue type (QInput can…
Browse files Browse the repository at this point in the history
… be used with type="file")
  • Loading branch information
rstoenescu committed May 8, 2024
1 parent e483bdd commit 23d6dcf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/src/components/input/QInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ export default createComponent({
...useFormProps,

// override of useFieldProps > modelValue
modelValue: [ String, Number ],
modelValue: __QUASAR_SSR_SERVER__
? {} // SSR does not know about FileList
: [ String, Number, FileList ],

shadowText: String,

Expand Down

0 comments on commit 23d6dcf

Please sign in to comment.