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:
parent
43d2c93c13
commit
c03b2d2147
@ -69,6 +69,9 @@ export default {
|
||||
},
|
||||
triggerChange(value) {
|
||||
value = this.parse(value);
|
||||
if (value === '') {
|
||||
value = null;
|
||||
}
|
||||
this.$emit('change', value);
|
||||
},
|
||||
parse(value) {
|
||||
|
Loading…
Reference in New Issue
Block a user