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
FormGroup: Using switch prop results in warning: Received true
for a non-boolean attribute switch
#2415
Comments
mikegoatly
pushed a commit
to mikegoatly/reactstrap
that referenced
this issue
Dec 10, 2021
14 tasks
For visibility here, @jfhenon mentioned this workaround in the pull request:
|
davidacevedo
added a commit
that referenced
this issue
Apr 13, 2022
fix(FormGroup): dont pass switch prop to tag #2415
Fix should be a part of |
This was referenced Mar 29, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
name
#9.0.1
typescript, import { FormGroup } from 'reactstrap' - whichever that is :)
#17.0.2
#5.1.3
What is happening?
When using the
switch
prop withFormGroup
:I get this warning in the browser:
What should be happening?
No warnings should be displayed.
Steps to reproduce issue
FormGroup
and set theswitch
prop.Error message in console
See above.
Code
https://reactstrap-py5tda.stackblitz.io
(Check the console pane to see the warning)
The text was updated successfully, but these errors were encountered: