2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 11:29:03 +00:00

fix(Base): Convert empty string to null

This commit is contained in:
Faris Ansari 2019-12-03 13:50:24 +05:30
parent 43d2c93c13
commit c03b2d2147

View File

@ -69,6 +69,9 @@ export default {
},
triggerChange(value) {
value = this.parse(value);
if (value === '') {
value = null;
}
this.$emit('change', value);
},
parse(value) {