Implement Dietela Quiz form validation
GENERAL
-
Handled error state for all form components. -
Add validation config at useForm
hooks -
Add validation schema generator. -
Add wrapper of @testing-library/react-native
to supply global providers for testing. -
Set initial page as default landing page
DIETELA QUIZ
-
Implement form validation for Dietela Quiz.
-
Handled error state for MultipleChoice and MultipleCheckbox components (by red helper text)
-
Redirect to the foremost page with error if any invalid form value exists after submit.
NOTES
Feedbacks on error message would be appreciated. kindly revieww @ppl-fasilkom-ui/2021/DD/pt-gizi-sehat-dietela
Edited by Wulan Mantiri