36
Views
1
Comments
[Search and Autocomplete] No 'no-selection' occuring when under the 'min-query-length'
Question
search-and-autocomplete
Reactive icon
Forge asset by Leonardo Fernandes

There seems to be a small bug with the usage of the 'min-query-lenght' extension where it prevents the 'no-selection' as well.


Reproduce:

  1. Create an autocomplete with the 'min-query-length' (3 chars) and 'no-selection' extensions
  2. Select a value from the autocomplete when testing
  3. Remove all text except for the first 2 letters
  4. This will not trigger 'no-selection'

However if you leave the first 3 or more characters when removing text, the 'no-selection' will trigger normally and as such will actually clear the selected data (as it should).


Regards,

Geoffrey van der Ven

2019-07-08 11-04-35
Leonardo Fernandes
 
MVP

Hi Geoffrey.

Thanks for reporting this issue. I will be working in this component soon, and I'll keep this in mind. I'll let you know when a fix is ready.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.