fix: properly set value in FileMimeType

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
pull/51914/head
Arthur Schiwon 2025-03-31 20:56:05 +07:00
parent 91f244d615
commit bd1b9231fc
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 3 additions and 3 deletions

@ -5,7 +5,7 @@
<template>
<div>
<NcSelect
:model-value="newValue"
:model-value="currentValue"
:placeholder="t('workflowengine', 'Select a file type')"
label="label"
:options="options"
@ -31,7 +31,7 @@
</template>
</NcSelect>
<input v-if="!isPredefined"
:model-value="newValue"
:value="currentValue.id"
type="text"
:placeholder="t('workflowengine', 'e.g. httpd/unix-directory')"
@input="updateCustom">
@ -76,7 +76,7 @@ export default {
id: 'application/pdf',
},
],
newValue: [],
newValue: '',
}
},
props: {