Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix(nc-gui): disable ai text input if re-generating #5086

Ramesh Mane60ea6258bb42
diff --git a/packages/nc-gui/components/cell/TextArea.vue b/packages/nc-gui/components/cell/TextArea.vue
index 7a14c5767f..a757b245f3 100644
--- a/packages/nc-gui/components/cell/TextArea.vue
+++ b/packages/nc-gui/components/cell/TextArea.vue
@@ -554,7 +554,7 @@ useResizeObserver(inputWrapperRef, () => {
minHeight: isForm ? '117px' : `${height}px`,
maxHeight: 'min(800px, calc(100vh - 200px))',
}"
- :disabled="readOnly || (props.isAi && isEditColumn)"
+ :disabled="!!readOnly || (props.isAi && !!isEditColumn) || isAiGenerating"
@blur="editEnabled = false"
@keydown.alt.stop
@keydown.alt.enter.stop