fix add dynamic form id

This commit is contained in:
TheCOBAN 2020-02-04 16:33:01 +03:00
parent 78cf27b53b
commit f95e8fbff8

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);
},