fix:association select no options when clearing filter (#1866)
* fix: inherit fields filter Foreign Key fields * fix: association select no options displayed when clearing filter * fix: association select no options displayed when clearing filter
This commit is contained in:
parent
3b8af6e863
commit
3603b2fe23
@ -146,11 +146,13 @@ const InternalRemoteSelect = connect(
|
||||
const onSearch = async (search) => {
|
||||
run({
|
||||
filter: mergeFilter([
|
||||
{
|
||||
[fieldNames.label]: {
|
||||
[operator]: search,
|
||||
},
|
||||
},
|
||||
search
|
||||
? {
|
||||
[fieldNames.label]: {
|
||||
[operator]: search,
|
||||
},
|
||||
}
|
||||
: {},
|
||||
field.componentProps?.service?.params?.filter || service?.params?.filter,
|
||||
]),
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user