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

Method formValidity

packages/main/src/DateRangePicker.ts:132–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130 }
131
132 get formValidity(): ValidityStateFlags {
133 return {
134 valueMissing: this.required && !this.value,
135 patternMismatch: !!this.value && !this.isValidValue(this.value),
136 rangeUnderflow: !!this.value && !this.isValidMin(this.value),
137 rangeOverflow: !!this.value && !this.isValidMax(this.value),
138 };
139 }
140
141 get formFormattedValue() {
142 const values = this._splitValueByDelimiter(this.value || "").filter(Boolean);

Callers

nothing calls this directly

Calls 3

isValidValueMethod · 0.95
isValidMinMethod · 0.95
isValidMaxMethod · 0.95

Tested by

no test coverage detected