Re-organize webcfg structure

This commit is contained in:
JustArchi
2018-04-27 04:50:21 +02:00
parent a624927b8a
commit 0ca1fbd4ff
107 changed files with 17 additions and 100 deletions

View File

@@ -0,0 +1,18 @@
<template>
<div class="form-item form-checkboxes">
<label v-for="checkbox in schema.fields" :for="checkbox.field" class="checkbox">
<input type="checkbox" :id="checkbox.field" :name="checkbox.field" :required="checkbox.required" v-model="value">
{{ checkbox.label }}
<span v-if="checkbox.required" class="req">*</span>
</label>
</div>
</template>
<script>
import Input from '../mixin/Input.vue';
export default {
mixins: [Input],
name: 'CheckboxGroup'
};
</script>