-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Component RadioControl stop to working in WP 5.8.1 #35107
Comments
Hi, @rubengc Can you share an example code for testing? |
Hi @Mamaduka Of course, I found it in my plugin GamiPress, every control (checkboxes, even a multicheckboxes we created) is working fine except the RadioControl Here is a test website with GamiPress installed where you can test it in any post editor: The steps to reproduce are: The thing is that I have not updated this code in months, and was working completely fine until 5.8.1: Hope we can find a way to get it fixed :) |
Hi @Mamaduka any news about this? This issue seems extremely strange and I just did a test to rollback to WordPress 5.7.9 where this control works perfectly, seems that issue was introduced in version 5.8 and above |
Help us move this issue forward. This issue is being marked stale since it has no activity after 15 days of requesting more information. Please add info requested so we can help move the issue forward. Note: The triage policy is to close stale issues that need more info and no response after 2 weeks. |
I added more info here: #35107 (comment) |
Help us move this issue forward. This issue is being marked stale since it has no activity after 15 days of requesting more information. Please add info requested so we can help move the issue forward. Note: The triage policy is to close stale issues that need more info and no response after 2 weeks. |
Can anyone review this? |
Hi @rubengc, I have carefully followed your code and the changes made in WordPress 5.8 regarding First, the versions of Gutenberg in WordPress 5.7 and 5.8 are as follows:
And the following PR was merged in 10.0, between Gutenberg 9.9 and Gutenberg 10.7: I further checked the code you reported and confirmed that you have already solved the problem by not passing the value prop to RadioControl. Your commit is a change to not pass the value prop in the case of the RadioControl component. In this light, it makes sense that your commit fixed the problem. As stated above, I would like to close this issue as I consider this to be a specification change rather than a bug on the component side. If you have any questions, please feel free to reopen. |
Hi there!
From latest update, the RadioControl component stop to working and its value never gets updated.
I'm using the "selected" attribute which was working completely fine until this update.
Is there any change made in 5.8.1 to this component?
I checked the WP docs and seems the attributes still the same as I was using from the release of Gutenberg so I do not know exactly what's happening...
The text was updated successfully, but these errors were encountered: