Cannot select relationship field value in design section (#12876)
* Revert "Quick fix, if compare isn't set then don't try to use it at all." This reverts commitb8c7da02e2
. * Revert "Quick fix for all usages of compare function in select." This reverts commitb4be6daea6
. * Don't force fetch rows on fieldApi change * Revert "Revert "Quick fix for all usages of compare function in select."" This reverts commit8cb5e2b569
. * Revert "Revert "Quick fix, if compare isn't set then don't try to use it at all."" This reverts commit0c09d5878b
. * update account portal
This commit is contained in:
parent
0efe0bb7ac
commit
8ec299e924
|
@ -1 +1 @@
|
|||
Subproject commit 1b9fa56fd7b0991b4963de9f3e8b4711abdcae71
|
||||
Subproject commit e9af6686ba135c367e9145a53d26c68325b9bf68
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue