Merge branch 'master' into fix/action-state-parsing

This commit is contained in:
Mihail Hadzhiev 2024-01-26 13:46:43 +02:00 committed by GitHub
commit 5e55192326
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 6 deletions

View File

@ -1,5 +1,5 @@
{
"version": "2.15.6",
"version": "2.15.7",
"npmClient": "yarn",
"packages": [
"packages/*",

View File

@ -108,16 +108,13 @@
}
}
$: forceFetchRows(filter, fieldApi)
$: forceFetchRows(filter)
$: debouncedFetchRows(searchTerm, primaryDisplay, defaultValue)
const forceFetchRows = async () => {
if (!fieldApi) {
return
}
// if the filter has changed, then we need to reset the options, clear the selection, and re-fetch
optionsObj = {}
fieldApi.setValue([])
fieldApi?.setValue([])
selectedValue = []
debouncedFetchRows(searchTerm, primaryDisplay, defaultValue)
}