MCPcopy Index your code
hub / github.com/UI5/webcomponents / _resetValueState

Method _resetValueState

packages/main/src/MultiComboBox.ts:1505–1515  ·  view source on GitHub ↗
(valueState: `${ValueState}`, callback?: () => void)

Source from the content-addressed store, hash-verified

1503 }
1504
1505 _resetValueState(valueState: `${ValueState}`, callback?: () => void) {
1506 this._validationTimeout = setTimeout(() => {
1507 this._effectiveValueState = this.valueState;
1508 this._dialogInputValueState = valueState;
1509 this._updateValueState(valueState);
1510 this._validationTimeout = null;
1511 this._innerInput.focus();
1512
1513 callback && callback();
1514 }, 2000);
1515 }
1516
1517 _onTokenizerKeydown(e: KeyboardEvent) {
1518 if ((isRight(e) && this.effectiveDir === "ltr") || (isLeft(e) && this.effectiveDir === "rtl")) {

Callers 1

_handleEnterMethod · 0.95

Calls 3

_updateValueStateMethod · 0.95
callbackFunction · 0.85
focusMethod · 0.45

Tested by

no test coverage detected