From fb80587988348b9e2cf6cb56f7078c57ed91d06c Mon Sep 17 00:00:00 2001 From: Pranav C Date: Mon, 12 Sep 2022 17:06:33 +0530 Subject: [PATCH] refactor(api): show validation error for multi/single select Signed-off-by: Pranav C --- .../components/smartsheet-column/SelectOptions.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/components/smartsheet-column/SelectOptions.vue b/packages/nc-gui/components/smartsheet-column/SelectOptions.vue index 15e54cc04a..121c8ddc85 100644 --- a/packages/nc-gui/components/smartsheet-column/SelectOptions.vue +++ b/packages/nc-gui/components/smartsheet-column/SelectOptions.vue @@ -15,7 +15,7 @@ const props = defineProps() const emit = defineEmits(['update:value']) const vModel = useVModel(props, 'value', emit) -const { setAdditionalValidations } = useColumnCreateStoreOrThrow() +const { setAdditionalValidations, validateInfos } = useColumnCreateStoreOrThrow() let options = $ref([]) const colorMenus = $ref({}) @@ -103,13 +103,20 @@ watch(inputs, () => { +