mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-26 18:59:25 +02:00
Update:Editing series on book in edit modal sets focus to first available input #889
This commit is contained in:
parent
8810f90226
commit
87d1f457ba
4 changed files with 32 additions and 2 deletions
|
@ -34,6 +34,11 @@ export default {
|
|||
}
|
||||
},
|
||||
methods: {
|
||||
setFocus() {
|
||||
if (this.$refs.input && this.$refs.input.setFocus) {
|
||||
this.$refs.input.setFocus()
|
||||
}
|
||||
},
|
||||
blur() {
|
||||
if (this.$refs.input && this.$refs.input.blur) {
|
||||
this.$refs.input.blur()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue