Skip to content

Commit 90ebfcf

Browse files
committed
fix(EntitySearchBox): add comment to explain search conditions
1 parent d8bac65 commit 90ebfcf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/client/src/pages/Main/containers/EntitySearchBox/EntitySearchBox.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ export const EntitySearchBox: React.FC = () => {
103103
}, [searchData.language]);
104104

105105
// check whether the search should be executed
106+
// it has to work also when label is not set but some of the options is selected #2913
106107
const validSearch = useMemo<boolean>(() => {
107108
return Boolean(
108109
(debouncedValues?.labelOrId?.length &&

0 commit comments

Comments
 (0)