fix scripts dropdown
This commit is contained in:
parent
45f4e947c5
commit
3770dc74d4
|
@ -20,21 +20,6 @@
|
||||||
label="Select script"
|
label="Select script"
|
||||||
map-options
|
map-options
|
||||||
emit-value
|
emit-value
|
||||||
/>
|
|
||||||
</q-card-section>
|
|
||||||
<q-card-section>
|
|
||||||
<q-select
|
|
||||||
dense
|
|
||||||
label="Script Arguments (press Enter after typing each argument)"
|
|
||||||
filled
|
|
||||||
v-model="localTask.script_args"
|
|
||||||
use-input
|
|
||||||
use-chips
|
|
||||||
multiple
|
|
||||||
hide-dropdown-icon
|
|
||||||
input-debounce="0"
|
|
||||||
new-value-mode="add"
|
|
||||||
@input="setScriptDefaults"
|
|
||||||
>
|
>
|
||||||
<template v-slot:option="scope">
|
<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 v-if="!scope.opt.category" v-bind="scope.itemProps" v-on="scope.itemEvents" class="q-pl-lg">
|
||||||
|
@ -48,6 +33,21 @@
|
||||||
</template>
|
</template>
|
||||||
</q-select>
|
</q-select>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
|
<q-card-section>
|
||||||
|
<q-select
|
||||||
|
dense
|
||||||
|
label="Script Arguments (press Enter after typing each argument)"
|
||||||
|
filled
|
||||||
|
v-model="localTask.script_args"
|
||||||
|
use-input
|
||||||
|
use-chips
|
||||||
|
multiple
|
||||||
|
hide-dropdown-icon
|
||||||
|
input-debounce="0"
|
||||||
|
new-value-mode="add"
|
||||||
|
@input="setScriptDefaults"
|
||||||
|
/>
|
||||||
|
</q-card-section>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<q-input
|
<q-input
|
||||||
:rules="[val => !!val || '*Required']"
|
:rules="[val => !!val || '*Required']"
|
||||||
|
@ -55,6 +55,7 @@
|
||||||
dense
|
dense
|
||||||
v-model="localTask.name"
|
v-model="localTask.name"
|
||||||
label="Descriptive name of task"
|
label="Descriptive name of task"
|
||||||
|
class="q-pb-none"
|
||||||
/>
|
/>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
|
@ -77,6 +78,7 @@
|
||||||
v-model.number="localTask.timeout"
|
v-model.number="localTask.timeout"
|
||||||
type="number"
|
type="number"
|
||||||
label="Maximum permitted execution time (seconds)"
|
label="Maximum permitted execution time (seconds)"
|
||||||
|
class="q-pb-none"
|
||||||
/>
|
/>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
<q-card-actions align="right">
|
<q-card-actions align="right">
|
||||||
|
|
Loading…
Reference in New Issue