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