Closed rajadain closed 5 years ago
The schema document asks for some fields to be conditional in the November Survey:
Similarly, there are conditional fields in the UserSurvey:
Conditional fields are implemented in the MonthlySurvey as such:
https://github.com/project-icp/bee-pollinator-app/blob/e24ccff21c9ca9fb8f6a67eda24b2665eebb7242/src/icp/apps/beekeepers/js/src/components/MonthlySurveyColonyForm.jsx#L131-L144
Use a similar technique to implement them in the November and User surveys.
The schema document asks for some fields to be conditional in the November Survey:
Similarly, there are conditional fields in the UserSurvey:
Conditional fields are implemented in the MonthlySurvey as such:
https://github.com/project-icp/bee-pollinator-app/blob/e24ccff21c9ca9fb8f6a67eda24b2665eebb7242/src/icp/apps/beekeepers/js/src/components/MonthlySurveyColonyForm.jsx#L131-L144
Use a similar technique to implement them in the November and User surveys.