diff --git a/frontend/src/lib/components/ArgInput.svelte b/frontend/src/lib/components/ArgInput.svelte index c296b047b4..554de1ae1f 100644 --- a/frontend/src/lib/components/ArgInput.svelte +++ b/frontend/src/lib/components/ArgInput.svelte @@ -547,7 +547,14 @@ ulOptionsClass={'p-2 !bg-surface-secondary'} outerDivClass={'dark:!border-gray-500 !border-gray-300'} {disabled} - bind:selected={value} + bind:selected={ + () => [...value], + (v) => { + if (!deepEqual(v, value)) { + value = v + } + } + } options={itemsType?.enum ?? []} selectedOptionsDraggable={true} on:open={() => {