Bug: label "for" hasn't correct id inside group field

Support General Bug: label "for" hasn't correct id inside group fieldResolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29267
    JugiburJugibur
    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

    #29274
    Long NguyenLong 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 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.