Improved select menus
This commit is contained in:
@@ -26,8 +26,10 @@
|
|||||||
<v-select
|
<v-select
|
||||||
label="Type"
|
label="Type"
|
||||||
color="accent"
|
color="accent"
|
||||||
|
append-icon="arrow_drop_down"
|
||||||
:items="attributeTypes"
|
:items="attributeTypes"
|
||||||
:value="attribute.type"
|
:value="attribute.type"
|
||||||
|
:menu-props="{auto: true, lazy: true}"
|
||||||
@change="type => $emit('change', {type})"
|
@change="type => $emit('change', {type})"
|
||||||
/>
|
/>
|
||||||
<v-switch
|
<v-switch
|
||||||
@@ -38,8 +40,10 @@
|
|||||||
<v-select
|
<v-select
|
||||||
label="Reset"
|
label="Reset"
|
||||||
color="accent"
|
color="accent"
|
||||||
|
append-icon="arrow_drop_down"
|
||||||
:items="resetOptions"
|
:items="resetOptions"
|
||||||
:value="attribute.reset"
|
:value="attribute.reset"
|
||||||
|
:menu-props="{auto: true, lazy: true}"
|
||||||
@change="reset => $emit('change', {reset})"
|
@change="reset => $emit('change', {reset})"
|
||||||
/>
|
/>
|
||||||
<v-text-field
|
<v-text-field
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
<v-select
|
<v-select
|
||||||
label="Operation"
|
label="Operation"
|
||||||
append-icon="arrow_drop_down"
|
append-icon="arrow_drop_down"
|
||||||
|
:menu-props="{transition: 'slide-y-transition', lazy: true}"
|
||||||
:items="operations"
|
:items="operations"
|
||||||
:value="this.effect.operation"
|
:value="this.effect.operation"
|
||||||
@change="operation => $emit('change', {operation})"
|
@change="operation => $emit('change', {operation})"
|
||||||
@@ -45,6 +46,7 @@
|
|||||||
append-icon="arrow_drop_down"
|
append-icon="arrow_drop_down"
|
||||||
item-text="name"
|
item-text="name"
|
||||||
item-value="variableName"
|
item-value="variableName"
|
||||||
|
:menu-props="{transition: 'slide-y-transition', lazy: true}"
|
||||||
:value="effect.stat"
|
:value="effect.stat"
|
||||||
:items="stats"
|
:items="stats"
|
||||||
@change="stat => $emit('change', {stat})"
|
@change="stat => $emit('change', {stat})"
|
||||||
|
|||||||
Reference in New Issue
Block a user