We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75e8ae2 commit 8cc6527Copy full SHA for 8cc6527
ui/src/components/file/QFile.js
@@ -5,6 +5,7 @@ import QChip from '../chip/QChip.js'
5
6
import FileMixin from '../../mixins/file.js'
7
8
+import { isSSR } from '../../plugins/Platform'
9
import { humanStorageSize } from '../../utils/format.js'
10
import { cache } from '../../utils/vm.js'
11
@@ -14,7 +15,10 @@ export default Vue.extend({
14
15
mixins: [ QField, FileMixin ],
16
17
props: {
- value: [ File, FileList, Array ],
18
+ /* SSR does not know about File & FileList */
19
+ value: isSSR === true
20
+ ? {}
21
+ : [ File, FileList, Array ],
22
23
useChips: Boolean,
24
displayValue: [ String, Number ],
0 commit comments