From c0e37439a87105a0e66c8ebced42c06dab30dc5e Mon Sep 17 00:00:00 2001 From: Eugene Date: Mon, 29 Jul 2024 10:50:05 +0200 Subject: [PATCH] fix(editor): Fix parameter input glitch when there was an error loading remote options (#10209) --- packages/editor-ui/src/components/ParameterInput.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/editor-ui/src/components/ParameterInput.vue b/packages/editor-ui/src/components/ParameterInput.vue index 5a25dbceba..588cf2bc39 100644 --- a/packages/editor-ui/src/components/ParameterInput.vue +++ b/packages/editor-ui/src/components/ParameterInput.vue @@ -253,7 +253,11 @@ :size="inputSize" :type="getStringInputType" :rows="editorRows" - :disabled="isReadOnly" + :disabled=" + isReadOnly || + remoteParameterOptionsLoading || + remoteParameterOptionsLoadingIssues !== null + " :title="displayTitle" :placeholder="getPlaceholder()" @update:model-value="(valueChanged($event) as undefined) && onUpdateTextInput($event)"