fix scripts dropdown
label="Select script"
map-options
emit-value
- />
+ >
+ <template v-slot:option="scope">
+ <q-item v-if="!scope.opt.category" v-bind="scope.itemProps" v-on="scope.itemEvents" class="q-pl-lg">
+ <q-item-section>
+ <q-item-label v-html="scope.opt.label"></q-item-label>
+ </q-item-section>
+ </q-item>
+ <q-item-label v-if="scope.opt.category" v-bind="scope.itemProps" header class="q-pa-sm">{{
+ scope.opt.category
+ }}</q-item-label>
+ </template>
+ </q-select>
</q-card-section>
<q-card-section>
<q-select
input-debounce="0"
new-value-mode="add"
@input="setScriptDefaults"
- >
- <template v-slot:option="scope">
- <q-item v-if="!scope.opt.category" v-bind="scope.itemProps" v-on="scope.itemEvents" class="q-pl-lg">
- <q-item-section>
- <q-item-label v-html="scope.opt.label"></q-item-label>
- </q-item-section>
- </q-item>
- <q-item-label v-if="scope.opt.category" v-bind="scope.itemProps" header class="q-pa-sm">{{
- scope.opt.category
- }}</q-item-label>
- </template>
- </q-select>
+ />
</q-card-section>
<q-card-section>
<q-input
dense
v-model="localTask.name"
label="Descriptive name of task"
+ class="q-pb-none"
/>
</q-card-section>
<q-card-section>
v-model.number="localTask.timeout"
type="number"
label="Maximum permitted execution time (seconds)"
+ class="q-pb-none"
/>
</q-card-section>
<q-card-actions align="right">
