Merge pull request #1228 from mehmetcoban/master

fix add dynamic form id
This commit is contained in:
Mehmet Çoban 2020-02-04 16:34:07 +03:00 committed by GitHub
commit 104f0bb78a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -269,7 +269,7 @@ export default {
},
mounted() {
let form_id = document.getElementById('dynamic-component').children[0].id;
let form_id = document.getElementById('dynamic-component').querySelectorAll('form')[1].id;
this.form = new Form(form_id);
},