I'd like to validate user inputs against its ValueHelp items
I'd rather not set the Input field to valueHelpOnly
as that disables typing for the user.
Let's say we have a value-help list of "Rabbit", "Steed", and "Goat". I want the user to be able to type it out, but if they forget to type it fully like typing "Rab" instead of "Rabbit", I want the input field to match the input against the value-help items list, and throw an invalid entry error message.
What's the way of validating the user input against the value-help items list? Is there a way to validate this using regex?