mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 02:31:34 +08:00
style: lint
This commit is contained in:
@ -53,10 +53,10 @@ export class ValueAccessor implements ControlValueAccessor, AfterViewInit, OnDes
|
|||||||
this.onTouched();
|
this.onTouched();
|
||||||
setIonicClasses(this.elementRef);
|
setIonicClasses(this.elementRef);
|
||||||
|
|
||||||
// When ion-radio is blurred, el and this.elementRef.nativeElement are
|
// When ion-radio is blurred, el and this.elementRef.nativeElement are
|
||||||
// different so we need to check if the closest ion-radio-group is the same
|
// different so we need to check if the closest ion-radio-group is the same
|
||||||
// as this.elementRef.nativeElement and if so, we need to mark the radio group
|
// as this.elementRef.nativeElement and if so, we need to mark the radio group
|
||||||
// as touched
|
// as touched
|
||||||
} else if (el.closest('ion-radio-group') === this.elementRef.nativeElement) {
|
} else if (el.closest('ion-radio-group') === this.elementRef.nativeElement) {
|
||||||
this.onTouched();
|
this.onTouched();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user