-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
CheckBox.Group bugs #5073
Comments
Hi @btrewern, Thank you for reporting this issue. We will look into it. |
Yeah, I experienced the same. this is major bug because the Component not updated when trigger by HMR |
Hi @chornos13, this issue is fixed in |
well, i still have the problem. |
For now, you can try this one checkbox group |
Still have same issue with latest version. 3.4.25 |
Still an issue in 3.4.28 |
same problem |
same issue - "native-base": "~3.4.28", |
guys how did you solve the problem? I have no idea how to solve it nothing is working no matter whether is it a simple checkbox or a group of checkboxes. It is randomly checking checkboxes. I don't know what has changed because there was no update this package last 6 months |
For some who are suffering this problem, I found out the the issue was mentioned and solved here at #5098 (comment) They fixed it in #5686 but I don't know why it returned to the buggy version (maybe in #5702) Native-base team please have a look! |
so long time, same bug we facing |
I was able to workaround the issue by wrapping the checkbox with a Pressable, added I hope this helps somebody out there looking for a workaround. |
I solved this problem by changing value={someValue} to defaultValue={someValue} in native-base 3.4.28 |
Description
Check boxes change randomly when in a CheckBox.Group
CodeSandbox/Snack link
See document examples
Steps to reproduce
Loading either CheckBox.Group examples:
https://docs.nativebase.io/checkbox#h3-controlled or https://docs.nativebase.io/checkbox#h3-uncontrolled
the check boxes don't work as expected. The first select click works but after that check boxes seem to change at random.
Also when running locally these examples raise a Console Warning as follows:
"We can not support a function callback. See Github Issues for details adobe/react-spectrum#2320"
NativeBase Version
3.4.6
Platform
Other Platform
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: