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

Method _getDefaultError

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

Source from the content-addressed store, hash-verified

257 private _customError = signal<boolean | null>(null);
258
259 private _getDefaultError() {
260 return this.interacted && !!this.stepControl && isInvalid(this.stepControl);
261 }
262
263 constructor() {
264 const stepperOptions = inject<StepperOptions>(STEPPER_GLOBAL_OPTIONS, {optional: true});

Callers 1

hasErrorMethod · 0.95

Calls 1

isInvalidFunction · 0.85

Tested by

no test coverage detected