maheshj01 / searchfield

A highly customizable simple and easy to use flutter Widget to add a searchfield to your Flutter Application.This Widget allows you to search and select from list of suggestions.
MIT License
84 stars 64 forks source link

Enter key doesn't seem to work #119

Closed innodep-joonk closed 7 months ago

innodep-joonk commented 8 months ago

Describe the bug After the keyboard arrow key function was added, the Enter key does not seem to work.

To Reproduce

  1. Enter a value using the keyboard in the searchfield
  2. Press Enter key

Expected behavior When you press the Enter key, the onSubmit function must be executed.

Actual behavior Even if I enter a value in the searchfield with the keyboard and press the Enter key, there is no response.

Additional context [√] Flutter (Channel stable, 3.16.2, on Microsoft Windows [Version 10.0.22621.3155]) • Flutter version 3.16.2 on channel stable at C:\DevSoftware\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 9e1c857886 (3 months ago), 2023-11-30 11:51:18 -0600 • Engine revision cf7a9d0800 • Dart version 3.2.2 • DevTools version 2.28.3

maheshj01 commented 8 months ago

@innodep-joonk Regardless of whether you enter the value in the searchfield or not, you cannot directly press enter you will need to select the option using the arrow keys and then press enter. Let me know if that doesn't work.

maheshj01 commented 7 months ago

Closing this issue as Stale and nonreproducible. In case you still encounter this issue, Please feel free to write back and I would be happy to review.