Fix bug with filter editor preventing date pickers or booleans from being shown

This commit is contained in:
Andrew Kingston 2021-09-29 08:57:09 +01:00
parent 9281caa86a
commit 8d6550338e
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@
/> />
{:else if ["string", "longform", "number"].includes(filter.type)} {:else if ["string", "longform", "number"].includes(filter.type)}
<Input disabled={filter.noValue} bind:value={filter.value} /> <Input disabled={filter.noValue} bind:value={filter.value} />
{:else if filter.type === "options" || "array"} {:else if ["options", "array"].includes(filter.type)}
<Combobox <Combobox
disabled={filter.noValue} disabled={filter.noValue}
options={getFieldOptions(filter.field)} options={getFieldOptions(filter.field)}