2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 19:29:02 +00:00

Emit updateDoc event from FormLayout

This commit is contained in:
Faris Ansari 2018-10-23 09:46:50 +05:30
parent 610d592310
commit 2884c157ec

View File

@ -66,6 +66,10 @@ export default {
}, },
updateDoc(fieldname, value) { updateDoc(fieldname, value) {
this.doc.set(fieldname, value); this.doc.set(fieldname, value);
this.$emit('updateDoc', {
fieldname,
value
});
}, },
showSection(i) { showSection(i) {
if (this.layoutConfig.paginated) { if (this.layoutConfig.paginated) {