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

Loading…
Cancel
Save