CodeForPhilly / prevention-point

Current Functional Product
MIT License
30 stars 15 forks source link

Insurer field bug #483

Closed JackRyan1989 closed 3 years ago

JackRyan1989 commented 3 years ago

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