Fix relationship field filter on change (#14879)
Co-authored-by: Conor Webb <126772285+ConorWebb96@users.noreply.github.com>
This commit is contained in:
parent
5cad630b25
commit
53854769ee
|
@ -113,7 +113,10 @@
|
|||
$: debouncedFetchRows(searchTerm, primaryDisplay, defaultValue)
|
||||
|
||||
const forceFetchRows = async () => {
|
||||
// if the filter has changed, then we need to reset the options, clear the selection, and re-fetch
|
||||
optionsObj = {}
|
||||
fieldApi?.setValue([])
|
||||
selectedValue = []
|
||||
debouncedFetchRows(searchTerm, primaryDisplay, defaultValue)
|
||||
}
|
||||
const fetchRows = async (searchTerm, primaryDisplay, defaultVal) => {
|
||||
|
|
Loading…
Reference in New Issue