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

Method required

src/material/chips/chip-grid.ts:178–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

176 */
177 @Input({transform: booleanAttribute})
178 get required(): boolean {
179 return this._required ?? this.ngControl?.control?.hasValidator(Validators.required) ?? false;
180 }
181 set required(value: boolean) {
182 this._required = value;
183 this.stateChanges.next();

Callers

nothing calls this directly

Calls 1

nextMethod · 0.45

Tested by

no test coverage detected