fix: disabled attribute for disabled checkboxes
This commit is contained in:
parent
fe9d598132
commit
368cc760e0
1 changed files with 2 additions and 2 deletions
|
|
@ -95,9 +95,9 @@ frappe.form.formatters = {
|
|||
},
|
||||
Check: function(value) {
|
||||
if (value) {
|
||||
return `<input type="checkbox" class="disabled-selected">`;
|
||||
return `<input type="checkbox" class="disabled-selected" disabled>`;
|
||||
} else {
|
||||
return `<input type="checkbox" class="disabled-deselected">`;
|
||||
return `<input type="checkbox" class="disabled-deselected" disabled>`;
|
||||
}
|
||||
},
|
||||
Link: function(value, docfield, options, doc) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue