Skip to content

Commit bd1b923

Browse files
committed
fix: properly set value in FileMimeType
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 parent 91f244d commit bd1b923

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

apps/workflowengine/src/components/Checks/FileMimeType.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<template>
66
<div>
77
<NcSelect
8-
:model-value="newValue"
8+
:model-value="currentValue"
99
:placeholder="t('workflowengine', 'Select a file type')"
1010
label="label"
1111
:options="options"
@@ -31,7 +31,7 @@
3131
</template>
3232
</NcSelect>
3333
<input v-if="!isPredefined"
34-
:model-value="newValue"
34+
:value="currentValue.id"
3535
type="text"
3636
:placeholder="t('workflowengine', 'e.g. httpd/unix-directory')"
3737
@input="updateCustom">
@@ -76,7 +76,7 @@ export default {
7676
id: 'application/pdf',
7777
},
7878
],
79-
newValue: [],
79+
newValue: '',
8080
}
8181
},
8282
props: {

0 commit comments

Comments
 (0)