Merge pull request #628 from ing-bank/fix/switch-remove-todo

fix(switch): remove old todo
This commit is contained in:
gerjanvangeest 2020-03-05 13:32:14 +01:00 committed by GitHub
commit 8ead98688d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,8 +72,6 @@ export class LionSwitch extends ChoiceInputMixin(LionField) {
_isEmpty() {}
__handleButtonSwitchCheckedChanged() {
// TODO: should be replaced by "_inputNode" after the next breaking change
// https://github.com/ing-bank/lion/blob/master/packages/field/src/FormControlMixin.js#L78
this.checked = this._inputNode.checked;
}