jeudi 20 mai 2021

Checking a checkbox on an un-rendered v-if div in vue

  <div
  v-if="!isAuto"
  class="c-input-container__input-wrapper"
  >
  <label class="c-input-container__checkable">
    <input
      id="edit-send-reminder-vue"
      type="checkbox"
      name="send_reminder-vue"
      :checked="sendReminder"
      class="c-input-container__checkable-element"
    >

When this Div wrapped checkbox is NOT rendered I still want the checkbox checked. Is this possible?




Aucun commentaire:

Enregistrer un commentaire