diff --git a/packages/@n8n/chat/src/components/Input.vue b/packages/@n8n/chat/src/components/Input.vue index 4abfc76849..1b9e0b9608 100644 --- a/packages/@n8n/chat/src/components/Input.vue +++ b/packages/@n8n/chat/src/components/Input.vue @@ -38,12 +38,12 @@ const isSubmitting = ref(false); const resizeObserver = ref(null); const isSubmitDisabled = computed(() => { - return input.value === '' || waitingForResponse.value || options.disabled?.value === true; + return input.value === '' || unref(waitingForResponse) || options.disabled?.value === true; }); const isInputDisabled = computed(() => options.disabled?.value === true); const isFileUploadDisabled = computed( - () => isFileUploadAllowed.value && waitingForResponse.value && !options.disabled?.value, + () => isFileUploadAllowed.value && unref(waitingForResponse) && !options.disabled?.value, ); const isFileUploadAllowed = computed(() => unref(options.allowFileUploads) === true); const allowedFileTypes = computed(() => unref(options.allowedFilesMimeTypes)); @@ -194,10 +194,13 @@ function adjustHeight(event: Event) {