mirror of
https://github.com/bitwarden/browser
synced 2026-02-19 19:04:01 +00:00
[PM-28231] Enable component-class-suffix (#17384)
* Enable component-class-suffix * Rename file
This commit is contained in:
committed by
jaasen-livefront
parent
8962c466a8
commit
f232192ad2
@@ -14,7 +14,7 @@ import { ControlValueAccessor, NG_VALUE_ACCESSOR } from "@angular/forms";
|
||||
import { AriaDisableDirective } from "../a11y";
|
||||
import { FormControlModule } from "../form-control/form-control.module";
|
||||
import { BitHintComponent } from "../form-control/hint.component";
|
||||
import { BitLabel } from "../form-control/label.component";
|
||||
import { BitLabelComponent } from "../form-control/label.component";
|
||||
|
||||
let nextId = 0;
|
||||
|
||||
@@ -43,7 +43,7 @@ let nextId = 0;
|
||||
})
|
||||
export class SwitchComponent implements ControlValueAccessor, AfterViewInit {
|
||||
private el = inject(ElementRef<HTMLButtonElement>);
|
||||
private readonly label = contentChild.required(BitLabel);
|
||||
private readonly label = contentChild.required(BitLabelComponent);
|
||||
|
||||
/**
|
||||
* Model signal for selected state binding when used outside of a form
|
||||
|
||||
Reference in New Issue
Block a user