WIP: laser tool support

This commit is contained in:
David Carley
2021-10-09 13:39:38 -07:00
parent 91d2f2b979
commit f22252011a
4 changed files with 80 additions and 49 deletions

View File

@@ -31,7 +31,7 @@ script#templated-input-template(type="text/x-template")
select(v-if="template.type == 'enum' || template.values", v-model="view",
:name="name", @change="change")
option(v-for="opt in template.values", :value="opt") {{opt}}
option(v-for="opt in template.values", :value="opt" :disabled="opt === '-----' ? true : false") {{opt}}
input(v-if="template.type == 'bool'", type="checkbox", v-model="view",
:name="name", @change="change")