-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Button Box not showing correct state after being saved within Vizy component #51
Comments
Also having this same bug. On the following versions:
|
Yeah, this is to do with the slightly odd way of setting up default values for the field with |
I'm encountering the same problems when using it in combination with the Hyper plugin. I'm using:
@engram-design Any idea when you have the time to look into this? Would love to use this in my project. |
Should be fixed in the respective plugin's upcoming releases. To get this early run:
|
Fixed also in 4.2.2. |
Describe the bug
I have a buttonbox field saved as a button configuration, and the field is stored within a Vizy component type.
When the entry is saved, the value is stored and correctly outputs in the front-end twig template.
However, when editing the entry again, the UI is not correctly showing the selected button; instead, simply shows the default as being selected.
Steps to reproduce
Having looked at the plugin source code, it seems that the code for this field is incorrectly reporting that the Vizy component "isFresh", when it's not.
If I edit line 159 of
src/fields/Buttons.php
and remove:...then the bug no longer occurs.
Craft CMS version
4.2.7
Plugin version
4.1.0
Multi-site?
No
Additional context
No response
The text was updated successfully, but these errors were encountered: