Merge pull request #1228 from mehmetcoban/master
fix add dynamic form id
This commit is contained in:
commit
104f0bb78a
2
resources/assets/js/mixins/global.js
vendored
2
resources/assets/js/mixins/global.js
vendored
@ -269,7 +269,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
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);
|
this.form = new Form(form_id);
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user