Skip to content

Commit

Permalink
Make NT search textfield update on change (#131)
Browse files Browse the repository at this point in the history
Fixed NT search widget only updating when you click enter, now it
updates on change.
  • Loading branch information
humandavey authored Nov 12, 2024
1 parent 317b1b6 commit 708a759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/widgets/dialog_widgets/dialog_text_input.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class _DialogTextInputState extends State<DialogTextInput> {
child: TextField(
autofocus: widget.autoFocus,
enabled: widget.enabled,
onSubmitted: (value) {
onChanged: (value) {
if (value.isNotEmpty || widget.allowEmptySubmission) {
widget.onSubmit.call(value);
focused = false;
Expand Down

0 comments on commit 708a759

Please sign in to comment.