multicheck checking all elements on pagination if checked

This commit is contained in:
Joan Sanchez 2019-04-30 11:20:37 +02:00
parent 6c3cea56aa
commit 6db35d744d
1 changed files with 4 additions and 0 deletions

View File

@ -43,6 +43,10 @@ export default class MultiCheck extends Input {
else if (!this.areAllChecked())
this._checked = false;
});
value.on('dataChange', () => {
if (this.checked) this.toggle();
});
}
}