Moved spell lists to advanced section of spells form

This commit is contained in:
Stefan Zermatten
2020-03-13 11:39:30 +02:00
parent 2381769ea2
commit 0e71d1c719

View File

@@ -30,16 +30,6 @@
/>
</div>
<div class="layout row wrap">
<v-combobox
label="Spell lists"
multiple
chips
deletable-chips
box
:value="model.spellLists"
@change="(value) => $emit('change', {path: ['spellLists'], value})"
:error-messages="errors.spellLists"
/>
<v-switch
label="Always prepared"
style="width: 200px; flex-grow: 0;"
@@ -110,11 +100,28 @@
@change="(value, ack) => $emit('change', {path: ['description'], value, ack})"
:debounce-time="debounceTime"
/>
<form-section name="Advanced" standalone>
<v-combobox
label="Spell lists"
multiple
chips
deletable-chips
box
:value="model.spellLists"
@change="(value) => $emit('change', {path: ['spellLists'], value})"
:error-messages="errors.spellLists"
/>
</form-section>
</div>
</template>
<script>
import FormSection from '/imports/ui/properties/forms/shared/FormSection.vue';
export default {
components: {
FormSection,
},
props: {
model: {
type: Object,