creativetimofficial / soft-ui-dashboard

Soft UI Dashboard - Free and OpenSource Bootstrap 5 Dashboard
https://www.creative-tim.com/product/soft-ui-dashboard
MIT License
528 stars 1.1k forks source link

React Hook Form filed are not working with input #28

Closed iamkhan001 closed 2 years ago

iamkhan001 commented 2 years ago

Hi there,

I'm trying to user react-hook-form library with soft ui theme, but i found that SuiInput is not working with register method.

I have implimented it like this

<SuiInput type="email" placeholder="Email" hook={...register("username", { required: 'Enter username' })} /> please help on this

github-actions[bot] commented 2 years ago

@iamkhan001 this issue was automatically closed because it did not follow the bellow rules:


IMPORTANT: Please use the following link to create a new issue:

https://www.creative-tim.com/new-issue/soft-ui-dashboard

**If your issue was not created using the app above, it will be closed immediately.**

Love Creative Tim? Do you need Angular, React, Vuejs or HTML? You can visit:
👉  https://www.creative-tim.com/bundles
👉  https://www.creative-tim.com