Refactor/improve inspect plugin and Execute panel in preparation for runtime dependencies features #329

Merged
blacklight merged 27 commits from 271/runtime-integrations into master 2023-10-12 02:51:46 +02:00
1 changed files with 7 additions and 0 deletions
Showing only changes of commit a717235453 - Show all commits

View File

@ -52,6 +52,11 @@ export default {
default: false,
},
autofocus: {
type: Boolean,
default: false,
},
label: {
type: String,
},
@ -194,6 +199,8 @@ export default {
mounted() {
document.addEventListener("click", this.onDocumentClick)
if (this.autofocus)
this.$refs.input.focus()
},
}
</script>