Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.1.4-SNAPSHOT
-
None
-
None
Description
The inputSuggestAjax component currently sends an ajax request for every key press. This results in a lot on needless traffic which causes the user experience to be adversely affected.
Possible improvements would be:
Calls should only be made where the keypress has resulted in the field value changing.
If a call results in no suggestions being returned, no further calls should be made until the field value up to the position of the cursor has been changed in some way e.g. a character deleted, or additional characters added.