mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-11 06:04:24 +00:00
Re-organize webcfg structure
This commit is contained in:
18
WebConfigGenerator/src/components/fields/CheckboxGroup.vue
Normal file
18
WebConfigGenerator/src/components/fields/CheckboxGroup.vue
Normal 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>
|
||||
Reference in New Issue
Block a user