kir-dev / cmsch

🧱 Full stack (Kotlin, Spring-boot, React) cms website solution for complex community sites optimized for Schönherz community events

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

You can't leave an optional number field blank

Tschonti opened this issue · comments

If there's an optional number field in a form, a submission where that field is empty counts as invalid. The content of that field is sent to the server as a string, so if it's empty, an empty string is sent. This could be handled on both the backend and frontend probably

negative numbers are also not accepted, not sure if that's by design