Strict Mode
Strict Mode
strict
is enabled by default and it forces the user to pick an item from the list, preventing them from entering their own text.
When you disabled strict
, if you type something that eliminates the entire list, then hit Enter, the string from the input will be passed back.
Note: If the list values are Objects and the user inputs a String, you will need to handle either type being returned