Form overhaul: branch form

This commit is contained in:
Stefan Zermatten
2023-05-16 16:58:38 +02:00
parent 35f6037236
commit b82e3d6f4c
2 changed files with 7 additions and 19 deletions

View File

@@ -29,26 +29,14 @@
$emit('change', {path: ['condition', ...path], value, ack})"
/>
</v-expand-transition>
<smart-combobox
label="Tags"
multiple
chips
deletable-chips
hint="Used to let slots find this property in a library, should otherwise be left blank"
:value="model.tags"
@change="change('tags', ...arguments)"
/>
<smart-switch
label="Don't show in log"
:value="model.silent"
:error-messages="errors.silent"
@change="change('silent', ...arguments)"
/>
<form-sections>
<form-section
name="Children"
>
<slot name="children" />
<form-section name="Log">
<smart-switch
label="Don't show in log"
:value="model.silent"
:error-messages="errors.silent"
@change="change('silent', ...arguments)"
/>
</form-section>
<slot />
</form-sections>