From 77af6c4ce10246955ec7bfa559395220a2c329c0 Mon Sep 17 00:00:00 2001 From: 21pages Date: Tue, 18 Feb 2025 09:08:38 +0800 Subject: [PATCH] clear selected device group or user when search text changes (#10815) Signed-off-by: 21pages --- flutter/lib/common/widgets/my_group.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/flutter/lib/common/widgets/my_group.dart b/flutter/lib/common/widgets/my_group.dart index efd1e5a24..6207a7363 100644 --- a/flutter/lib/common/widgets/my_group.dart +++ b/flutter/lib/common/widgets/my_group.dart @@ -134,6 +134,7 @@ class _MyGroupState extends State { controller: searchUserController, onChanged: (value) { searchAccessibleItemNameText.value = value; + selectedAccessibleItemName.value = ''; }, textAlignVertical: TextAlignVertical.center, style: TextStyle(fontSize: fontSize),