mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-21 08:01:34 +01:00
Update:Editing series on book in edit modal sets focus to first available input #889
This commit is contained in:
1 parent
8810f90226
commit
87d1f457ba
4 files changed
+32
-2
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user