Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
I am using the inputSuggestAjax component to fetch email addresses. I want the list of suggestions to be contacts with either forename, surname or email address matching the entered prefix. However, inputSuggestAjax assumes that all the suggestions will exactly match the entered prefix, and overwrites the entered prefix if it does not match any of the suggestions.
A fix for this would be to not replace the entered prefix and to not append a suggestion unless the entered prefix exactly matches one of the suggestions.