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

Method getDisplayValueFromValue

packages/main/src/DatePicker.ts:638–644  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

636 }
637
638 getDisplayValueFromValue(value: string): string {
639 if (!this.getValueFormat().parse(value)) {
640 return value;
641 }
642
643 return this.getDisplayFormat().format(this.getValueFormat().parse(value));
644 }
645
646 /**
647 * The ui5-input "submit" event handler - fire change event when the user presses enter

Callers 1

Calls 4

parseMethod · 0.45
getValueFormatMethod · 0.45
formatMethod · 0.45
getDisplayFormatMethod · 0.45

Tested by

no test coverage detected