Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
220
Unable to prevent users from entering values into drop down
posted

All,

I have a dropdown where we're supposed to limit the choices available, but would like the end user to be able to type into the text box to quickly find items. Unfortunately, even after setting EnableCustomValues = false, a user can start to type, get a match, then highlight some of the word and delete and it allows it to go through.

Here, you can see the dropdown

Type Al and Alpha is chosen, with the pha highlighted. Hit the backspace and you get

Which allows Al to be submitted. I've tried everything but cannot get this to function properly. Am I missing something simple or is there an issue when trying to limit input like this?

Thanks,

R

Parents
No Data
Reply
  • 5105
    Suggested Answer
    Offline posted

    Hi there,

    Did you try using the EnableAutoCompleteFirstMatch property and the EnabledCustomValueSelection?

    Try those two out and let me know if you need any additional help!

    Thank you for using the Infragistics forums!

Children
No Data