Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(toggleswitch component): added forwardRef to ToggleSwitch component #1198

Merged

Conversation

nikitadubyk
Copy link
Contributor

@nikitadubyk nikitadubyk commented Dec 23, 2023

fix #1078

A forwardRef for the ToggleSwitch component has been added. These changes fixed an error with the forwardRef message appearing when using react-hook-form

This PR will be fix this issue #1078

Copy link

vercel bot commented Dec 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
flowbite-react ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2023 8:18am

Copy link

codecov bot commented Dec 23, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7461173) 99.54% compared to head (0709a67) 97.36%.
Report is 181 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1198      +/-   ##
==========================================
- Coverage   99.54%   97.36%   -2.19%     
==========================================
  Files         163      214      +51     
  Lines        6621     9075    +2454     
  Branches      401      530     +129     
==========================================
+ Hits         6591     8836    +2245     
- Misses         30      239     +209     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rluders
Copy link
Collaborator

rluders commented Dec 23, 2023

Thank you, @nikitadubyk

@rluders rluders merged commit 8e0b658 into themesberg:main Dec 23, 2023
5 checks passed
ddiasfront pushed a commit to ddiasfront/flowbite-react that referenced this pull request Dec 29, 2023
…nt (themesberg#1198)

fix themesberg#1078

Co-authored-by: Nikita Dubyk <nikita.dubyk@sweetcode.pro>
ddiasfront pushed a commit to ddiasfront/flowbite-react that referenced this pull request Dec 29, 2023
…nt (themesberg#1198)

fix themesberg#1078

Co-authored-by: Nikita Dubyk <nikita.dubyk@sweetcode.pro>
@github-actions github-actions bot mentioned this pull request Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ToggleSwitch and forwardRef
2 participants