|
|
@ -1,4 +1,5 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
|
|
|
|
<div> |
|
|
|
<v-select |
|
|
|
<v-select |
|
|
|
v-model="localState" |
|
|
|
v-model="localState" |
|
|
|
:items="enumValues" |
|
|
|
:items="enumValues" |
|
|
@ -8,7 +9,7 @@ |
|
|
|
dense |
|
|
|
dense |
|
|
|
flat |
|
|
|
flat |
|
|
|
hide-details |
|
|
|
hide-details |
|
|
|
class="mt-0" |
|
|
|
:class="`mt-0 ${isForm ? 'form-select': ''}`" |
|
|
|
:clearable="!column.rqd" |
|
|
|
:clearable="!column.rqd" |
|
|
|
v-on="parentListeners" |
|
|
|
v-on="parentListeners" |
|
|
|
> |
|
|
|
> |
|
|
@ -33,15 +34,12 @@ |
|
|
|
<v-icon small class="mt-1"> mdi-menu-down </v-icon> |
|
|
|
<v-icon small class="mt-1"> mdi-menu-down </v-icon> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</v-select> |
|
|
|
</v-select> |
|
|
|
|
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import colors from '@/mixins/colors'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
name: 'EnumListEditableCell', |
|
|
|
name: 'EnumListEditableCell', |
|
|
|
mixins: [colors], |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
props: { |
|
|
|
props: { |
|
|
|
value: String, |
|
|
|
value: String, |
|
|
|
column: Object, |
|
|
|
column: Object, |
|
|
@ -103,6 +101,14 @@ export default { |
|
|
|
font-size: 13px !important; |
|
|
|
font-size: 13px !important; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.form-select { |
|
|
|
|
|
|
|
.v-select__selections { |
|
|
|
|
|
|
|
border: 1px solid rgba(127,130,139,0.2); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
input { |
|
|
|
|
|
|
|
z-index: -1; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |
|
|
|
<!-- |
|
|
|
<!-- |
|
|
|