Custom Fields
Re-Envisioned
Support General Bug: label "for" hasn't correct id inside group field

  • Creator
    Topic
  • #29267
    Jugibur
    Participant

    Hi,

    I love to use clicking on the label to set a chechbox.
    Currenty, if using a group field the value of the inputs "id" and the labels "for" attribute aren't the same.

    See example underneath:
    label "for" : "page_settings_group_test"
    input "id": "test"

    <div class="rwmb-field rwmb-checkbox-wrapper">
      <div class="rwmb-label">
        <label for="test">The Label</label>
        <div class="rwmb-input">
          <input value="1" type="checkbox" size="30" id="page_settings_group_test" class="rwmb-checkbox" name="page_settings_group[torso_to_footer_no_gap]">
        </div>
    </div>

    Whould be great this could be corrected.
    Juergen

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #29274
    Long Nguyen
    Moderator

    Hi,

    Thank you for your feedback.

    The subfield in a group will have the ID groupID_subfieldID and the label only shows for the subfieldID, it looks incorrectly. I will inform the development team to cover this case.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.