MCPcopy Create free account
hub / github.com/angular/components / _getDefaultError

Method _getDefaultError

src/cdk/stepper/stepper.ts:255–257  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

253 private _customError = signal<boolean | null>(null);
254
255 private _getDefaultError() {
256 return this.interacted && !!this.stepControl?.invalid;
257 }
258
259 constructor() {
260 const stepperOptions = inject<StepperOptions>(STEPPER_GLOBAL_OPTIONS, {optional: true});

Callers 1

hasErrorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected