1
0
Fork 0
mirror of synced 2024-07-04 22:11:23 +12: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}
/>
{:else if filter.type === FieldType.BB_REFERENCE}
<FilterUsers {filter} />
<FilterUsers bind:value={filter.value} />
{:else}
<DrawerBindableInput disabled />
{/if}

View file

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