gather-community / gather

The App for Community
https://info.gather.coop
MIT License
30 stars 6 forks source link

Tweak validation of meal cost form #1040

Open smoyte opened 4 weeks ago

smoyte commented 4 weeks ago

Currently if someone inadvertently makes a selection on the "reimbursement method" radio buttons, they get a validation error on the other fields in the meal cost form, and there is no way to uncheck the radio buttons:

image

without refreshing the page.

We should just disregard the reimbursement method selection and throw away the meal cost data in this case. We should only consider the form filled out if one of the cost boxes is filled in.