You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 4, 2020. It is now read-only.
@jurassix, What if every form field is its own react component/class. The joi validation happens inside each component. The parent component, i.e. the form, just adds each component. In this case, how do you check if the form is valid?
I tried calling this.validate from the form component but it is throwing undefined.
@jurassix, What if every form field is its own react component/class. The joi validation happens inside each component. The parent component, i.e. the form, just adds each component. In this case, how do you check if the form is valid?
I tried calling
this.validatefrom the form component but it is throwing undefined.