fix(front): tell `Vue` to update the Pills when tags are reset
This commit is contained in:
parent
6ab6282435
commit
b3070a7829
|
@ -304,7 +304,9 @@ const resetField = (fieldId: string) => {
|
|||
</template>
|
||||
<template v-else-if="fieldConfig.type === 'tags'">
|
||||
<Pills
|
||||
v-for="version in [JSON.stringify(values[fieldConfig.id])]"
|
||||
:id="fieldConfig.id"
|
||||
:key="version"
|
||||
:get="model => { values[fieldConfig.id] = model.currents.map(({ label }) => label) }"
|
||||
:set="model => ({
|
||||
...model,
|
||||
|
|
Loading…
Reference in New Issue