fix: properly set value in FileMimeType

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2025-03-31 20:56:05 +02:00
parent 04e78dbc77
commit 7afdce6e9d
No known key found for this signature in database
GPG key ID: 7424F1874854DF23

View file

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