fix(editor): Fix parameter input glitch when there was an error loading remote options (#10209)

This commit is contained in:
Eugene 2024-07-29 10:50:05 +02:00 committed by GitHub
parent 5aba69bcf4
commit c0e37439a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -253,7 +253,11 @@
:size="inputSize" :size="inputSize"
:type="getStringInputType" :type="getStringInputType"
:rows="editorRows" :rows="editorRows"
:disabled="isReadOnly" :disabled="
isReadOnly ||
remoteParameterOptionsLoading ||
remoteParameterOptionsLoadingIssues !== null
"
:title="displayTitle" :title="displayTitle"
:placeholder="getPlaceholder()" :placeholder="getPlaceholder()"
@update:model-value="(valueChanged($event) as undefined) && onUpdateTextInput($event)" @update:model-value="(valueChanged($event) as undefined) && onUpdateTextInput($event)"