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

Method _checkDisplayValueValidity

packages/main/src/DatePicker.ts:689–694  ·  view source on GitHub ↗

* Checks if the provided value is valid and within valid range. * @protected * @param value

(value: string)

Source from the content-addressed store, hash-verified

687 * @param value
688 */
689 _checkDisplayValueValidity(value: string): boolean {
690 if (value === "") {
691 return true;
692 }
693 return this.isValidDisplayValue(value) && this.isInValidRangeDisplayValue(value);
694 }
695
696 _click(e: MouseEvent) {
697 if (isPhone()) {

Callers 1

Calls 2

isValidDisplayValueMethod · 0.95

Tested by

no test coverage detected