Support › General › Default value/button for button_groupResolved
i'm having the same issue as this topic:
I have the following buttons:
* has the value of zero.
In the template the 12345 shows a star rating. But when it's zero then all the stars are grey (as it should) but to be 0 i need a 0 button.
When you enter 0:0 then the 0 button will not apear. thats why i use a *.
So what do i want, or that 0 can be a button AND that 0 is the default value
Or that i can say that the * is the default.
I'm going to check it out and let you know later. Thank you.
Any update regarding this?
We are trying to research and create an update for MB Builder to cover this case. At this time, please try to use the code to create the zero value for the field button_group.
For more information, please follow the docs https://docs.metabox.io/fields/button-group/#sample-code.