Add multiselect for options is in
This commit is contained in:
parent
2aa7f2b2ff
commit
fb3351e99b
|
@ -27,7 +27,7 @@
|
|||
{error}
|
||||
{disabled}
|
||||
{readonly}
|
||||
{value}
|
||||
value={Array.isArray(value) ? value : [value]}
|
||||
{options}
|
||||
{placeholder}
|
||||
{sort}
|
||||
|
|
|
@ -140,7 +140,7 @@
|
|||
/>
|
||||
{:else if ["string", "longform", "number", "formula"].includes(filter.type)}
|
||||
<Input disabled={filter.noValue} bind:value={filter.value} />
|
||||
{:else if filter.type === "array"}
|
||||
{:else if filter.type === "array" || (filter.type === "options" && filter.operator === "oneOf")}
|
||||
<Multiselect
|
||||
disabled={filter.noValue}
|
||||
options={getFieldOptions(filter.field)}
|
||||
|
|
Loading…
Reference in New Issue