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
First of all, thanks for the amazing job building mui-tel-input, great job!
My question is, there is any chance of mui-tel-input being updated so it can be used wit react-hook-form so we can use it inside forms and work with better validation schemas.
In my custom input component, we use somethinig like this, so we can pass the register property and destructure it inside our base mui component.
Wow! Thank you very much for the answer and great documentation!
I saw your example and it really helped me!! I needed use it in a diferent way, because I am working with React Hook Form + Yup for validation. But it helped a lot. Once again, thank you very much!!
First of all, thanks for the amazing job building mui-tel-input, great job!
My question is, there is any chance of mui-tel-input being updated so it can be used wit react-hook-form so we can use it inside forms and work with better validation schemas.
In my custom input component, we use somethinig like this, so we can pass the register property and destructure it inside our base mui component.
<CustomInput register={register} name="name" />
<OutlinedInput {...(props.register && props.name && props.register(props.name))} />
The text was updated successfully, but these errors were encountered: