mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Cleanup
This commit is contained in:
parent
d07b704014
commit
2bdadc2140
6 changed files with 15 additions and 47 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue