danielo515 / obsidian-modal-form

Define forms for filling data that you will be able to open from anywhere you can run JS
https://danielorodriguez.com/obsidian-modal-form/
MIT License
199 stars 17 forks source link

[BUG] Select type form items don't validate whether there are values #188

Open andrew-m-j opened 8 months ago

andrew-m-j commented 8 months ago

Describe the bug When making a form with a select type input and static options, there isn't a check to ensure that values are entered for each choice. If these are omitted, the form submission returns an empty result.

Expected behavior

When a select input is used, the form validation should check whether there are values entered for each choice and report an error similar to what happens if a form name is missing.

danielo515 commented 8 months ago

Yes, this is something I have been postponing. I agree it will be a nice Q0L improvement