1
0
Fork 0
mirror of synced 2024-10-02 10:08:09 +13:00

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

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)}