(item: IMultiComboBoxItem, filterValue: string)
| 1801 | } |
| 1802 | |
| 1803 | _handleTypeAhead(item: IMultiComboBoxItem, filterValue: string) { |
| 1804 | if (!item) { |
| 1805 | return; |
| 1806 | } |
| 1807 | |
| 1808 | const value = item.text; |
| 1809 | const innerInput = this._innerInput; |
| 1810 | |
| 1811 | filterValue = filterValue || ""; |
| 1812 | this.value = value!; |
| 1813 | |
| 1814 | innerInput.value = value!; |
| 1815 | innerInput.setSelectionRange(filterValue.length, value!.length); |
| 1816 | |
| 1817 | this._shouldAutocomplete = false; |
| 1818 | } |
| 1819 | |
| 1820 | _getFirstMatchingItem(current: string) { |
| 1821 | if (!this._getItems().length) { |