Closed jonathan-chin closed 1 year ago
I found a guide that shows the principles of what we want. there's a related github repo.
I pushed a new branch called chin-convenience-component
that has the beginnings of an Input convenience component. right now, it has 3 integrations:
react-hook-forms
label
prophelperText
propwe can continue building it out as needed. I think there are other things the component needs before @amak-code can use it in signup / login, primarily passing in error messages. but once it's good to go, you can proceed.
here is a seemingly good guide: https://dev.to/ionic/using-react-hook-form-with-ionic-react-components-2aab try to stick with the
register
method; if you need to use thecontroller
method detailed, talk with the team first.