Select prevents rendering if options are empty #129
Labels
🐛 bug
Verified bug by team
🚀 release-ready
Feature or fix is complete and on an upcoming release branch
Reproduction
https://formkit.link/2503ee4a3a9247b2ded2e5a4d6624594
Describe the bug
Select inputs prevent entire form from rendering if there is no placeholder and the options are empty.
When loading options for a select async the initial array is empty. If there is no placeholder then the input attempts to set the value using the first available option which doesn't exist.
Environment
• OS: macOS Monterey
• Browser chrome
• Version 98.0.4758.109 (Official Build) (x86_64)
The text was updated successfully, but these errors were encountered: