Skip to content

Commit 6900cfe

Browse files
(Lookup): execute onLookupRequest() as the master branch
1 parent 54a688e commit 6900cfe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/scripts/Lookup.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1223,6 +1223,8 @@ export const Lookup = createFC<LookupProps, { isFormElement: boolean }>(
12231223
const onRemoveSelection = useEventCallback(() => {
12241224
onSelect(null);
12251225
setSearchText('');
1226+
setOpened(true);
1227+
onLookupRequest_?.('');
12261228
setTimeout(() => {
12271229
inputElRef.current?.focus();
12281230
}, 10);

0 commit comments

Comments
 (0)