This commit is contained in:
Oliver committed 2021-07-26 17:28:16 +10:00
1 parent d07b704014
commit 2bdadc2140
6 files changed
+15 -47

No files matched your search

+3 -8
View File
@@ -21,19 +21,14 @@ class PaginatedSearchWidget extends StatelessWidget {
leading: GestureDetector(
child: FaIcon(controller.text.isEmpty ? FontAwesomeIcons.search : FontAwesomeIcons.backspace),
onTap: () {
if (onChanged != null) {
controller.clear();
onChanged();
}
controller.clear();
onChanged();
},
),
title: TextFormField(
controller: controller,
onChanged: (value) {
if (onChanged != null) {
onChanged();
}
onChanged();
},
decoration: InputDecoration(
hintText: L10().search,