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

Method _handleMobileInput

packages/main/src/MultiComboBox.ts:664–687  ·  view source on GitHub ↗
(e: CustomEvent<InputEventDetail>)

Source from the content-addressed store, hash-verified

662 }
663
664 _handleMobileInput(e: CustomEvent<InputEventDetail>) {
665 if (!this.open || this.readonly) {
666 return;
667 }
668
669 const target = e.target as Input;
670 const value = target.value;
671
672 if (!this.noValidation && !this._filterItems(value).length) {
673 this._dialogInputValueState = ValueState.Negative;
674 } else {
675 this._dialogInputValueState = this.valueState;
676 }
677
678 if (this.filterSelected) {
679 this.filterSelected = false;
680 }
681
682 this.value = value;
683 this._shouldFilterItems = true;
684 this.valueBeforeAutoComplete = value;
685
686 this.fireDecoratorEvent("input");
687 }
688
689 _inputChange() {
690 if (!this._clearingValue && this._lastValue !== this.value) {

Callers

nothing calls this directly

Calls 1

_filterItemsMethod · 0.95

Tested by

no test coverage detected