Skip to content

Commit

Permalink
re-enable manual suggestions for search field
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaphasilor committed Oct 9, 2024
1 parent 84c45cd commit bd70328
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/screens/music_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ class _MusicScreenState extends ConsumerState<MusicScreen>
? TextField(
controller: textEditingController,
autocorrect: false, // avoid autocorrect
enableSuggestions: false, // avoid autocorrect
enableSuggestions:
true, // keep suggestions which can be manually selected
autofocus: true,
keyboardType: TextInputType.text,
textInputAction: TextInputAction.search,
Expand Down

0 comments on commit bd70328

Please sign in to comment.