MCPcopy Create free account
hub / github.com/UI5/webcomponents / formValidity

Method formValidity

packages/main/src/DatePicker.ts:434–441  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

432 }
433
434 get formValidity(): ValidityStateFlags {
435 return {
436 valueMissing: this.required && !this.value,
437 patternMismatch: !this.isValidValue(this.value),
438 rangeUnderflow: !this.isValidMin(this.value),
439 rangeOverflow: !this.isValidMax(this.value),
440 };
441 }
442
443 async formElementAnchor() {
444 return (await this.getFocusDomRefAsync() as UI5Element)?.getFocusDomRefAsync();

Callers

nothing calls this directly

Calls 3

isValidValueMethod · 0.95
isValidMinMethod · 0.95
isValidMaxMethod · 0.95

Tested by

no test coverage detected