diff --git a/packages/nc-gui/components/cell/SingleSelect.vue b/packages/nc-gui/components/cell/SingleSelect.vue index 3a54f4be9d..67d9457097 100644 --- a/packages/nc-gui/components/cell/SingleSelect.vue +++ b/packages/nc-gui/components/cell/SingleSelect.vue @@ -204,12 +204,14 @@ async function addIfMissingAndSave() { } } - await $api.dbTableColumn.update( + const data = await $api.dbTableColumn.update( (column.value as { fk_column_id?: string })?.fk_column_id || (column.value?.id as string), updatedColMeta, ) + + column.value.colOptions = data.columns.find((c) => c.id === column.value.id).colOptions + vModel.value = newOptValue - await getMeta(column.value.fk_model_id!, true) } catch (e: any) { console.log(e) message.error(await extractSdkResponseErrorMsg(e))