[fix] for check
This commit is contained in:
parent
8eedcda8e9
commit
8cf7fc5f09
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue