I'm encountering an issue with the Dropdown component in Retool when using the search feature. Specifically, when I search for a value that doesn't exist in the options, after blurring out of the dropdown, the displayed value becomes empty instead of keeping the default value. I would like the dropdown to retain the default value when no matching result is found, rather than showing a blank field. Please check image below:
What does it mean to blur out the element? Is that another way to talk about it no longer being in focus? I've spent a bit of time playing around with the dropdown in an effort to break it in the manner that you've described, but I've been unsuccessful so far. I recorded my attempts here.
I do think it's weird that the inputValue is saved after the component loses focus and will probably report that as a bug, but the display value seemed unaffected in my testing.
Very interesting! I'm guessing that you're on an older version of Retool, then, as I'm able to replicate this bug after reverting to 3.52, specifically. It seems to be fixed on the latest stable release (3.75) and on cloud, as well. If you can, I'd recommend upgrading!