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: warning when a non-boolean values was used to set checked prop of a SwitchInput component #3276

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

rhumbertgz
Copy link
Contributor

The problem was that in the useEffect hook the plain value was used without validation like in useState

Screenshot 2024-09-27 at 10 46 44

rhumbertgz and others added 2 commits September 27, 2024 10:52
…of SwitchInput component

The problem was that in the useEffect hook the plain value was used without validation like in useState
Copy link
Contributor

@HenryHengZJ HenryHengZJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @rhumbertgz !

@HenryHengZJ HenryHengZJ merged commit 99cb8c3 into FlowiseAI:main Sep 27, 2024
2 checks passed
@rhumbertgz rhumbertgz deleted the fix/checked-warning branch September 27, 2024 13:11
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.

2 participants