Let's say I have an array called sValid().

I want to make a combobox that the user can only type in string that are inside sValid()
If a user tries to type in a string that is not in the array nothing should happen....

Example:

User tries to type in "testing"
This is possible because the array contains a string "testing"

Now, when the user tries to type in "testings" the result in the combobox text should be "testing"


How do I do this