Skip to content

Commit

Permalink
fix: [NO-TASK] Hotfix for clearing input (#361)
Browse files Browse the repository at this point in the history
Co-authored-by: Birgitt Majas <birgitt.majas@yolo.com>
  • Loading branch information
GittHub-d and Birgitt Majas committed Feb 23, 2024
1 parent a011a93 commit 991a6ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/lib/src/storybook/stories/combobox.dart
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class _ComboboxStoryState extends State<ComboboxStory> {

setState(() {
_showSingleSelectDropdown = false;
if (isOptionSelected) _singleSelectSearchController.clear();
if (!isOptionSelected) _singleSelectSearchController.clear();
_singleSelectFocusNode.unfocus();
});
}
Expand Down

0 comments on commit 991a6ba

Please sign in to comment.