Skip to content

Commit 48b2619

Browse files
committed
remove min 3 chars search logic from groupUsers
1 parent 1b7d4b9 commit 48b2619

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/packages/lowcoder/src/pages/setting/permission/addGroupUserDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function AddGroupUserDialog(props: {
5555
);
5656

5757
useEffect(() => {
58-
if (searchValue.length > 2 || searchValue === "") {
58+
if (searchValue.length > 0 || searchValue === "") {
5959
debouncedFetchPotentialMembers(searchValue);
6060
}
6161
return () => {

client/packages/lowcoder/src/pages/setting/permission/groupUsersPermission.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const GroupUsersPermission: React.FC<GroupPermissionProp> = (props) => {
127127
);
128128

129129
useEffect(() => {
130-
if (searchValue.length > 2 || searchValue === "" || roleFilter) {
130+
if (searchValue.length > 0 || searchValue === "" || roleFilter) {
131131
debouncedFetchPotentialMembers(searchValue, roleFilter);
132132
}
133133
return () => {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy