mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-03-26 22:16:06 +01:00
Fix FormSwitch component attributes binding
This commit is contained in:
parent
5aed829813
commit
e6a4e5c69b
@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<div class="field">
|
||||
<label for="fieldName" class="label" v-html="label"></label>
|
||||
<input id="fieldName" type="checkbox" name="fieldName" class="switch is-thin is-info" v-model="form[fieldName]">
|
||||
<label for="fieldName" class="label"></label>
|
||||
<label :for="fieldName" class="label" v-html="label"></label>
|
||||
<input :id="fieldName" type="checkbox" :name="fieldName" class="switch is-thin is-info" v-model="form[fieldName]">
|
||||
<label :for="fieldName" class="label"></label>
|
||||
<p class="help" v-html="help" v-if="help"></p>
|
||||
</div>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user