Skip to content

Commit

Permalink
connect checkbox labels
Browse files Browse the repository at this point in the history
  • Loading branch information
jeriox committed Sep 19, 2024
1 parent 1f03add commit 7a985d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ephios/extra/templates/extra/widgets/recurrence_picker.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@

<div class="mb-4" v-if="rule.freq===frequencies.WEEKLY">
<div class="form-check form-check-inline" v-for="(day, index) in weekdays">
<input class="form-check-input" type="checkbox" v-model="rule.byweekday" :value="index"
<input :id="'weekday' + index" class="form-check-input" type="checkbox" v-model="rule.byweekday" :value="index"
:required="!rule.byweekday">
<label class="form-check-label">[[ day.slice(0,2) ]]</label>
<label :for="'weekday' + index" class="form-check-label">[[ day.slice(0,2) ]]</label>
</div>
</div>

Expand Down

0 comments on commit 7a985d2

Please sign in to comment.