2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 15:50:56 +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) {