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

Method _handleTypeAhead

packages/main/src/ComboBox.ts:954–962  ·  view source on GitHub ↗
(value: string, filterValue: string)

Source from the content-addressed store, hash-verified

952 }
953
954 _handleTypeAhead(value: string, filterValue: string) {
955 const item = this._getFirstMatchingItem(value);
956
957 if (!item) {
958 return;
959 }
960
961 this._applyAtomicValueAndSelection(item, filterValue);
962 }
963
964 _handleArrowDown(e: KeyboardEvent, indexOfItem: number) {
965 const isOpen = this.open;

Callers 2

_inputMethod · 0.95
_handleItemNavigationMethod · 0.95

Calls 2

_getFirstMatchingItemMethod · 0.95

Tested by

no test coverage detected