You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the current input has trailing spaces - may be added by the user or by some user javascript - the list is not updated even when the non-space input content changed
#466
Open
Wikinaut opened this issue
Apr 10, 2022
· 0 comments
I noticed, that when the current input has trailing spaces - added intentionally for allowing further additional user input - the easyautocomplete is not triggered to fetch or update the list when the existing (non-empty) part of the line is changed.
Add a trailing space (shown here for the purpose of clarity as _)
(list still shows Albania_, which I regard as fully correct in the sense of a leading-or-trailing-space-ignoring search)
Add x into Albania_: Albaxnia_
(list is correctly emptied, because Albaxnia_ does not exist in the list of results)
Now
Now remove the x from Albaxnia_
Bug
The list is now not updated with a new search.
Expected behaviour
any relevant non-space change of the input line should trigger the list to be fetched and shown
The text was updated successfully, but these errors were encountered:
Wikinaut
changed the title
When the current input has trailing spaces - may be added by some user javascript - the list is not updated
When the current input has trailing spaces - may be added by the user or also by some user javascript - the list is not updated
Apr 10, 2022
Wikinaut
changed the title
When the current input has trailing spaces - may be added by the user or also by some user javascript - the list is not updated
When the current input has trailing spaces - may be added by the user or also by some user javascript - the list is not updated even when the non-space input content changed
Apr 10, 2022
Wikinaut
changed the title
When the current input has trailing spaces - may be added by the user or also by some user javascript - the list is not updated even when the non-space input content changed
When the current input has trailing spaces - may be added by the user or by some user javascript - the list is not updated even when the non-space input content changed
Apr 10, 2022
I noticed, that when the current input has trailing spaces - added intentionally for allowing further additional user input - the easyautocomplete is not triggered to fetch or update the list when the existing (non-empty) part of the line is changed.
How to reproduce using the very first example on your page http://easyautocomplete.com/ :
al
to getAlbania
.Albania
in the listAlbania
is now shown in the input)_
)Albania_
, which I regard as fully correct in the sense of a leading-or-trailing-space-ignoring search)x
intoAlbania_
:Albaxnia_
Albaxnia_
does not exist in the list of results)Now
x
fromAlbaxnia_
Bug
Expected behaviour
The text was updated successfully, but these errors were encountered: