mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 10:01:59 +08:00
style: lint
This commit is contained in:
@ -53,10 +53,10 @@ export class ValueAccessor implements ControlValueAccessor, AfterViewInit, OnDes
|
||||
this.onTouched();
|
||||
setIonicClasses(this.elementRef);
|
||||
|
||||
// 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
|
||||
// as this.elementRef.nativeElement and if so, we need to mark the radio group
|
||||
// as touched
|
||||
// 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
|
||||
// as this.elementRef.nativeElement and if so, we need to mark the radio group
|
||||
// as touched
|
||||
} else if (el.closest('ion-radio-group') === this.elementRef.nativeElement) {
|
||||
this.onTouched();
|
||||
}
|
||||
|
Reference in New Issue
Block a user