Open nunoc66 opened 3 weeks ago
Hmmmm, I can't recreate this. What browser are you in? Do you have any extensions installed? Do you have the button group inside another field (e.g. grid, replicator, group)?
Also, are you able to provide the options you have configured for the button group field? Either a screenshot or the YAML from the blueprint will do.
Hmm.. that's interesting. I did confirm it's savings it properly, so the issue for me is just the UI.
Is it my config for the button group and the list of options:
And here's what it looks like in my entry. I imagine it's missing a class (option 5 is selected here):
Thanks for your help!
Can you try re-saving the "News Importance" field in your blueprint to see if that makes a difference?
Unfortunately it doesn't appear to have changed anything.
Can you provide the field array that gets saved to the blueprints
table so we can see how it is saved?
I added the PR #10916 which solves this issue.
Bug description
If you select an option in a button group, it gets saved and shows up in the DB, but the styles on the screen don't show which option is selected. This happens in light and dark modes.
How to reproduce
Create a blueprint that uses a button group with multiple choices. Choose an option and notice that the unselected buttons look the same as the selected one.
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response