Can you restrict entering an invalid entries with jquery ui autocomplete

Posted by oo on Stack Overflow See other posts from Stack Overflow or by oo
Published on 2010-04-25T15:49:24Z Indexed on 2010/04/29 13:27 UTC
Read the original article Hit count: 350

when using the jquery ui autocomplete, i would thought there would be an option to force only valid key entry based on the list. Is there anyway to not allow invalid keys so you can only enter valid items in the list?

if my list has (csharp, java, python)

i can start typing "abcds . ." and it lets me type it in. I want only valid entries to be allowed.

© Stack Overflow or respective owner

Related posts about jquery-ui-autocomplete

Related posts about keypress