Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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)

AltStyle によって変換されたページ (->オリジナル) /