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

Method formValidity

packages/main/src/DateTimePicker.ts:237–244  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

235 }
236
237 get formValidity(): ValidityStateFlags {
238 return {
239 valueMissing: this.required && !this.value,
240 patternMismatch: !this.isValidValue(this.value),
241 rangeUnderflow: !this.isValidMin(this.value),
242 rangeOverflow: !this.isValidMax(this.value),
243 };
244 }
245
246 get _formatPattern() {
247 const formatPattern = this.formatPattern || this.valueFormat || "medium";

Callers

nothing calls this directly

Calls 3

isValidValueMethod · 0.45
isValidMinMethod · 0.45
isValidMaxMethod · 0.45

Tested by

no test coverage detected