editor focus
This commit is contained in:
parent
b413cc312d
commit
6f338806ed
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<form @submit.prevent="submit">
|
||||
<div class="input-group shadow" role="group">
|
||||
<input type="text" v-model="url" class="form-control" />
|
||||
<input type="text" v-model="url" class="form-control" ref="input" />
|
||||
<button
|
||||
type="submit"
|
||||
class="btn btn-sm btn-outline-primary"
|
||||
@ -69,5 +69,8 @@ export default {
|
||||
this.$emit("cancel", { name: this.infobase_name });
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.$nextTick(() => this.$refs.input.focus());
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user