Skip to content

Commit

Permalink
Support checkbox form field in settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ifox committed Apr 1, 2020
1 parent 15a2dbe commit d62d303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/js/components/SingleCheckbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<a17-inputframe :error="error" :note="note" :name="name">
<div class="singleCheckbox">
<span class="checkbox">
<input type="checkbox" class="checkbox__input" :class="checkboxClasses" value="true" :name="name + '[' + randKey + ']'" :id="uniqId" :disabled="disabled">
<input type="checkbox" class="checkbox__input" :class="checkboxClasses" value="true" :name="name + '[' + randKey + ']'" :id="uniqId" :disabled="disabled" :checked="checkedValue">
<label class="checkbox__label" :for="uniqId" @click.prevent="changeCheckbox">{{ label }} <span class="checkbox__icon"><span v-svg symbol="check"></span></span></label>
</span>
</div>
Expand Down

0 comments on commit d62d303

Please sign in to comment.