Browse Source

fix(gui-v2): remove setAdditionalValidations

pull/2963/head
Wing-Kam Wong 2 years ago
parent
commit
0e33b36fb9
  1. 3
      packages/nc-gui-v2/components/smartsheet-column/AdvancedOptions.vue

3
packages/nc-gui-v2/components/smartsheet-column/AdvancedOptions.vue

@ -5,9 +5,6 @@ const { formState, validateInfos, setAdditionalValidations, sqlUi, onDataTypeCha
const dataTypes = computed(() => sqlUi?.value?.getDataTypeListForUiType(formState)) const dataTypes = computed(() => sqlUi?.value?.getDataTypeListForUiType(formState))
// set additional validations
setAdditionalValidations({})
// to avoid type error with checkbox // to avoid type error with checkbox
formState.value.rqd = !!formState.value.rqd formState.value.rqd = !!formState.value.rqd
formState.value.pk = !!formState.value.pk formState.value.pk = !!formState.value.pk

Loading…
Cancel
Save