Merge pull request #4582 from Zlash65/fix-multicheck
[Minor] Multicheck control fix
This commit is contained in:
commit
694ab62d4b
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ frappe.ui.form.ControlMultiCheck = frappe.ui.form.Control.extend({
|
|||
refresh_input() {
|
||||
this.options.map(option => option.value).forEach(value => {
|
||||
$(this.wrapper)
|
||||
.find(`:checkbox[data-unit=${value}]`)
|
||||
.find(`:checkbox[data-unit="${value}"]`)
|
||||
.prop("checked", this.selected_options.includes(value));
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue