Default value/button for button_group

Support General Default value/button for button_groupResolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #20385
    RogerRoger
    Participant

    i'm having the same issue as this topic:
    https://support.metabox.io/topic/default-value-for-button_group-fields/

    I have the following buttons:
    *12345
    * 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.

    #20388
    Long NguyenLong Nguyen
    Moderator

    Hi,

    I'm going to check it out and let you know later. Thank you.

    #20468
    RogerRoger
    Participant

    Any update regarding this?

    #20541
    RogerRoger
    Participant

    sir? anyone?

    #20544
    Long NguyenLong Nguyen
    Moderator

    Hi,

    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.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.