441/fix/clear cell while opening it by typing and delete value when I hit delete / backspace. (#2021)

- Use initial values when opening table cells and pass them to fields

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
Abhishek Thory
2023-11-03 21:13:54 +05:30
committed by GitHub
parent 60b1024efb
commit c397619100
39 changed files with 339 additions and 70 deletions

View File

@ -1,4 +1,3 @@
import { useEffect } from 'react';
import debounce from 'lodash.debounce';
import { useRecoilScopedState } from '@/ui/utilities/recoil-scope/hooks/useRecoilScopedState';
@ -31,10 +30,6 @@ export const useEntitySelectSearch = () => {
setRelationPickerPreselectedId('');
};
useEffect(() => {
setRelationPickerSearchFilter('');
}, [setRelationPickerSearchFilter]);
return {
searchFilter: relationPickerSearchFilter,
handleSearchFilterChange,