@finema/core 2.27.0 → 2.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -180,7 +180,6 @@ const onKeydown = (event) => {
|
|
|
180
180
|
event.preventDefault();
|
|
181
181
|
if (selectedSuggestionIndex.value >= 0) {
|
|
182
182
|
selectSuggestion(filteredSuggestions.value[selectedSuggestionIndex.value], selectedSuggestionIndex.value);
|
|
183
|
-
emits("selected", filteredSuggestions.value[selectedSuggestionIndex.value]);
|
|
184
183
|
}
|
|
185
184
|
break;
|
|
186
185
|
case "Escape":
|
|
@@ -194,6 +193,7 @@ const selectSuggestion = (suggestion, index) => {
|
|
|
194
193
|
scrollToSuggestionByIndex(index);
|
|
195
194
|
}
|
|
196
195
|
handleChange(suggestion);
|
|
196
|
+
emits("selected", suggestion);
|
|
197
197
|
emits("change", suggestion);
|
|
198
198
|
showSuggestions.value = false;
|
|
199
199
|
selectedSuggestionIndex.value = -1;
|