Alberto Michelis Well-Known Member Licensed User Longtime User Jun 16, 2015 #1 Is there any way to test that what the user type is one of the suggested items? You start typing and it shows the possible items but if you continue typing then you can choose a value not in the item list.
Is there any way to test that what the user type is one of the suggested items? You start typing and it shows the possible items but if you continue typing then you can choose a value not in the item list.
Erel B4X founder Staff member Licensed User Longtime User Jun 17, 2015 #2 Put all the possible values in a Map and then you can quickly check if the Map contains the text (as a key). Upvote 0
Put all the possible values in a Map and then you can quickly check if the Map contains the text (as a key).
Peter Simpson Expert Licensed User Longtime User Jun 17, 2015 #3 Have you seen this link @Alberto Michelis https://www.b4x.com/android/forum/t...native-to-autocompleteedittext.19379/#content Upvote 0
Have you seen this link @Alberto Michelis https://www.b4x.com/android/forum/t...native-to-autocompleteedittext.19379/#content