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

Method _removeGroupSeparators

packages/main/src/StepInput.ts:759–762  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

757 }
758
759 _removeGroupSeparators(value: string) {
760 const groupSeparator = this.groupSeparator;
761 return value.replaceAll(groupSeparator, "");
762 }
763
764 _isInputValueValid(typedValue: string, parsedValue: number) {
765 return !Number.isNaN(parsedValue) && !/, {2,}/.test(typedValue);

Callers 2

_onInputChangeMethod · 0.95
_getValueOnkeyDownMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected