Auto-focus the first parameter after selecting an action.

This commit is contained in:
Fabio Manganiello 2023-10-10 21:31:14 +02:00
parent 07f0535504
commit ff07623803
Signed by: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -306,6 +306,7 @@ export default {
this.actionDocsCache[this.action.name] = {} this.actionDocsCache[this.action.name] = {}
this.actionDocsCache[this.action.name].html = this.selectedDoc this.actionDocsCache[this.action.name].html = this.selectedDoc
this.$el.querySelector('.action-param-value')?.focus()
this.response = undefined this.response = undefined
this.error = undefined this.error = undefined
}, },