Insurer field only goes through in Yup if set to notRequired. Validates properly when an insurer is present but does not validate if 'is_insured' is false. Because we're setting the value for insurer in the participantstore to empty string and then converting to null on the backend I think this is ok. But let me know if this gives you the heebie jeebies.
Insurer field only goes through in Yup if set to notRequired. Validates properly when an insurer is present but does not validate if 'is_insured' is false. Because we're setting the value for insurer in the participantstore to empty string and then converting to null on the backend I think this is ok. But let me know if this gives you the heebie jeebies.
Closes #480