[Execute UI] Fixed glitch when switching action args.

This commit is contained in:
Fabio Manganiello 2024-11-04 01:40:51 +01:00
parent d15d744017
commit 4759da30eb
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774
2 changed files with 5 additions and 1 deletions

View file

@ -12,7 +12,7 @@
:quote="true" :quote="true"
:select-on-tab="false" :select-on-tab="false"
@input="onArgEdit(name, $event)" @input="onArgEdit(name, $event)"
@blur="onSelect(name)" @blur="onSelect(null)"
@focus="onSelect(name)" /> @focus="onSelect(name)" />
<span class="required-flag" v-if="action.args[name].required">*</span> <span class="required-flag" v-if="action.args[name].required">*</span>
</label> </label>

View file

@ -429,6 +429,10 @@ export default {
}, },
async selectArgdoc(name) { async selectArgdoc(name) {
if (!name?.length) {
return
}
this.selectedArg = name this.selectedArg = name
this.selectedArgdoc = this.selectedArgdoc =
this.actionDocsCache[this.action.name]?.[name]?.html || this.actionDocsCache[this.action.name]?.[name]?.html ||