What: FormSection[] JSON data, initial values object, and Yup schema for BeneficiariesRequestComponent
Why: to generate BeneficiariesRequestComponent dynamically. Currently, it is hard-coded
Implementation details: review VolunteerFormData and look at how to create Yup schemas. Ensure FormSection[] JSON follows the types defined in formik/types.ts.
For the grocery checkboxes (e.g. if you want to buy frozen foods it would pop out a text input), Ethan and I felt this wasn't a great design. We thought it would be better if the entire grocery list was just a text box, so people can paste their grocery list in from somewhere, or just write it in the text box. We thought it would be better to keep the form simpler for now. :)
What:
FormSection[]
JSON data, initial values object, and Yup schema forBeneficiariesRequestComponent
Why: to generate
BeneficiariesRequestComponent
dynamically. Currently, it is hard-codedImplementation details: review
VolunteerFormData
and look at how to create Yup schemas. EnsureFormSection[]
JSON follows the types defined informik/types.ts
.For the grocery checkboxes (e.g. if you want to buy frozen foods it would pop out a text input), Ethan and I felt this wasn't a great design. We thought it would be better if the entire grocery list was just a text box, so people can paste their grocery list in from somewhere, or just write it in the text box. We thought it would be better to keep the form simpler for now. :)