I have a text box which is an autocomplete field allowing the user to enter values into it but user is able to change the value after selecting from the list of populated values. In order to avoid that, I tried using combobox, but combobox doesn't seem to work with input and it only works with select. In my case, I cannot use select as the values coming up are from a database table and not any predefined values.
Is there any way to avoid users from selecting any values other than the ones in the autopopulating list into the text field? I beleive we can do this with jQuery, as I am not having enough knowledge on jQuery, I am unable to check any solution for it.
Can anyone help me out with this?