1
0
Fork 0
mirror of synced 2024-10-06 04:54:52 +13:00

Apply filter

This commit is contained in:
Adria Navarro 2023-10-03 12:59:15 +02:00
parent 3b93748376
commit 9b14f50e8f
2 changed files with 3 additions and 3 deletions

View file

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

View file

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