1
0
Fork 0
mirror of synced 2024-07-15 03:05:57 +12:00

Merge branch 'master' into remove_test_flakiness

This commit is contained in:
Adria Navarro 2024-01-26 11:35:29 +01:00 committed by GitHub
commit 5d41dcc5ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 7 deletions

View file

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

@ -1 +1 @@
Subproject commit 1b9fa56fd7b0991b4963de9f3e8b4711abdcae71
Subproject commit e9af6686ba135c367e9145a53d26c68325b9bf68

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