Browse Source

Merge pull request #1366 from nocodb/feat/show-more

feat: add show more to LinkToAnotherRecord
pull/1381/head
աɨռɢӄաօռɢ 3 years ago committed by GitHub
parent
commit
b72a59c620
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 29
      packages/nc-gui/components/project/spreadsheet/components/editColumn/linkedToAnotherOptions.vue

29
packages/nc-gui/components/project/spreadsheet/components/editColumn/linkedToAnotherOptions.vue

@ -16,11 +16,6 @@
<!-- <v-radio disabled value="oo" label="One To One" />--> <!-- <v-radio disabled value="oo" label="One To One" />-->
</v-radio-group> </v-radio-group>
</v-col> </v-col>
</v-row>
</v-container>
<v-container fluid class="wrapper">
<v-row>
<v-col cols="12"> <v-col cols="12">
<v-autocomplete <v-autocomplete
ref="input" ref="input"
@ -39,6 +34,26 @@
:rules="tableRules" :rules="tableRules"
/> />
</v-col> </v-col>
</v-row>
</v-container>
<v-container fluid class=" mb-3">
<v-row>
<v-col cols="12" class="pt-0" :class="{'pb-0': advanceOptions}">
<div
class="pointer grey--text text-right caption nc-more-options"
@click="advanceOptions = !advanceOptions"
>
{{ advanceOptions ? $t('general.hideAll') : $t('general.showMore') }}
<v-icon x-small color="grey">
mdi-{{ advanceOptions ? 'minus' : 'plus' }}-circle-outline
</v-icon>
</div>
</v-col>
</v-row>
</v-container>
<v-container v-show="advanceOptions" fluid class="wrapper">
<v-row>
<!-- <v-col cols="6"> <!-- <v-col cols="6">
<v-text-field <v-text-field
outlined outlined
@ -86,7 +101,6 @@
/> />
</v-col> </v-col>
</v-row> </v-row>
<v-row> <v-row>
<v-col> <v-col>
<v-checkbox <v-checkbox
@ -116,7 +130,8 @@ export default {
refColumns: [], refColumns: [],
relation: {}, relation: {},
isRefTablesLoading: false, isRefTablesLoading: false,
isRefColumnsLoading: false isRefColumnsLoading: false,
advanceOptions: false
}), }),
computed: { computed: {
onUpdateDeleteOptions() { onUpdateDeleteOptions() {

Loading…
Cancel
Save