fix tags input

This commit is contained in:
Valentin CZERYBA 2024-12-21 20:19:33 +01:00
parent e4836ac4eb
commit 53a60a581a

View File

@ -551,7 +551,7 @@ class _MyHomePageState extends State<ListItemMenu> {
decoration: InputDecoration( decoration: InputDecoration(
labelText: 'Search by tags', labelText: 'Search by tags',
border: OutlineInputBorder(), border: OutlineInputBorder(),
suffixIcon: inputItem.text.isEmpty suffixIcon: inputTags.text.isEmpty
? null ? null
: IconButton( : IconButton(
icon: const Icon(Icons.clear), icon: const Icon(Icons.clear),