Browse Source

chore/removed unnecassry validation binding

pull/3006/head
Muhammed Mustafa 2 years ago
parent
commit
62150e5b80
  1. 6
      packages/nc-gui-v2/components/smartsheet-column/LinkedToAnotherRecordOptions.vue

6
packages/nc-gui-v2/components/smartsheet-column/LinkedToAnotherRecordOptions.vue

@ -68,7 +68,7 @@ const refTables = $computed(() => {
<div v-if="advancedOptions" class="flex flex-col p-4 border-2 mt-2"> <div v-if="advancedOptions" class="flex flex-col p-4 border-2 mt-2">
<div class="flex flex-row space-x-2"> <div class="flex flex-row space-x-2">
<a-form-item class="flex w-1/2" :label="$t('labels.onUpdate')" v-bind="validateInfos.onUpdate"> <a-form-item class="flex w-1/2" :label="$t('labels.onUpdate')">
<a-select <a-select
v-model:value="formState.onUpdate" v-model:value="formState.onUpdate"
:disabled="formState.virtual" :disabled="formState.virtual"
@ -81,7 +81,7 @@ const refTables = $computed(() => {
</a-select-option> </a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
<a-form-item class="flex w-1/2" :label="$t('labels.onDelete')" v-bind="validateInfos.onDelete"> <a-form-item class="flex w-1/2" :label="$t('labels.onDelete')">
<a-select <a-select
v-model:value="formState.onDelete" v-model:value="formState.onDelete"
:disabled="formState.virtual" :disabled="formState.virtual"
@ -96,7 +96,7 @@ const refTables = $computed(() => {
</a-form-item> </a-form-item>
</div> </div>
<div class="flex flex-row"> <div class="flex flex-row">
<a-form-item v-bind="validateInfos.virtual"> <a-form-item>
<a-checkbox v-model:checked="formState.virtual" name="virtual" @change="onDataTypeChange">Virtual Relation</a-checkbox> <a-checkbox v-model:checked="formState.virtual" name="virtual" @change="onDataTypeChange">Virtual Relation</a-checkbox>
</a-form-item> </a-form-item>
</div> </div>

Loading…
Cancel
Save