[fix] for check

This commit is contained in:
Rushabh Mehta 2017-07-06 14:59:25 +05:30
parent 8eedcda8e9
commit 8cf7fc5f09

View file

@ -904,7 +904,7 @@ frappe.ui.form.ControlCheck = frappe.ui.form.ControlData.extend({
this._super();
this.$input.removeClass("form-control");
},
parse: function(value) {
get_input_value: function() {
return this.input.checked ? 1 : 0;
},
validate: function(value, callback) {