Apply filter
This commit is contained in:
parent
3b93748376
commit
9b14f50e8f
|
@ -288,7 +288,7 @@
|
|||
bind:value={filter.value}
|
||||
/>
|
||||
{:else if filter.type === FieldType.BB_REFERENCE}
|
||||
<FilterUsers {filter} />
|
||||
<FilterUsers bind:value={filter.value} />
|
||||
{:else}
|
||||
<DrawerBindableInput disabled />
|
||||
{/if}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
import { API } from "api"
|
||||
|
||||
export let filter
|
||||
export let value = null
|
||||
|
||||
$: fetch = fetchData({
|
||||
API,
|
||||
|
@ -21,7 +21,7 @@
|
|||
|
||||
<Select
|
||||
autocomplete
|
||||
bind:value={filter.value}
|
||||
bind:value
|
||||
{options}
|
||||
getOptionLabel={option => option.email}
|
||||
getOptionValue={option => option._id}
|
||||
|
|
Loading…
Reference in New Issue