Custom Fields
Re-Envisioned
Support General Default value/button for button_group

  • Creator
    Topic
  • #20385
    Resolved Roger
    Participant

    i’m having the same issue as this topic:
    https://metabox.io/support/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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #20388
    Long Nguyen
    Moderator

    Hi,

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

    #20468
    Roger
    Participant

    Any update regarding this?

    #20541
    Roger
    Participant

    sir? anyone?

    #20544
    Long 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 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.