diff --git a/packages/nc-gui/components/cell/MultiSelect.vue b/packages/nc-gui/components/cell/MultiSelect.vue index 8adc8d6382..1060125573 100644 --- a/packages/nc-gui/components/cell/MultiSelect.vue +++ b/packages/nc-gui/components/cell/MultiSelect.vue @@ -280,7 +280,6 @@ async function addIfMissingAndSave() { updatedColMeta, ) - column.value.colOptions = data.columns.find((c) => c.id === column.value.id).colOptions activeOptCreateInProgress.value-- diff --git a/packages/nc-gui/components/nc/Select.vue b/packages/nc-gui/components/nc/Select.vue index 54ac4311ee..01b8312b83 100644 --- a/packages/nc-gui/components/nc/Select.vue +++ b/packages/nc-gui/components/nc/Select.vue @@ -15,6 +15,7 @@ const props = withDefaults( allowClear?: boolean loading?: boolean suffixIcon?: keyof typeof iconMap + maxTagCount?: number }>(), { suffixIcon: 'arrowDown', @@ -55,8 +56,9 @@ const onChange = (value: string) => { :mode="mode" :placeholder="placeholder" :show-search="showSearch" + :max-tag-count="maxTagCount" class="nc-select" - @change="onChange" + @change="onChange as any" >