Browse Source

refactor(gui): show options component by default for select type

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/843/head
Pranav C 3 years ago
parent
commit
174b2b3aae
  1. 15
      packages/nc-gui/components/project/spreadsheet/components/editColumn.vue

15
packages/nc-gui/components/project/spreadsheet/components/editColumn.vue

@ -105,6 +105,13 @@
<!-- </v-list-item>-->
<!-- </v-list>-->
</v-col>
<v-col v-if="isSelect" cols="12">
<custom-select-options
v-model="newColumn.dtxp"
@input="newColumn.altered = newColumn.altered || 2"
/>
</v-col>
<v-col v-if="accordion" cols="12" class="pt-0" :class="{'pb-0': advanceOptions}">
<div
class="pointer grey--text text-right caption nc-more-options"
@ -116,6 +123,7 @@
</v-icon>
</div>
</v-col>
<v-col v-show="advanceOptions || !accordion" cols="12">
<v-row>
<template v-if="newColumn.uidt !== 'Formula'">
@ -179,13 +187,6 @@
/>
</v-col>
<v-col v-if="isSelect" cols="12">
<custom-select-options
v-model="newColumn.dtxp"
@input="newColumn.altered = newColumn.altered || 2"
/>
</v-col>
<template v-if="newColumn.cn && newColumn.uidt && !isVirtual">
<v-col cols="12">
<v-container fluid class="wrapper">

Loading…
Cancel
Save