From b0b91c2050f8adaa5dac83d0472db187669cc654 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Fri, 19 Apr 2024 15:11:30 +0300 Subject: [PATCH] Fixed #5618 - AutoComplete: Enter does not submit form --- components/lib/autocomplete/AutoComplete.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/autocomplete/AutoComplete.vue b/components/lib/autocomplete/AutoComplete.vue index 945e35ee5..8a7a5b3a7 100755 --- a/components/lib/autocomplete/AutoComplete.vue +++ b/components/lib/autocomplete/AutoComplete.vue @@ -617,10 +617,10 @@ export default { onEnterKey(event) { if (!this.overlayVisible) { this.focusedOptionIndex = -1; // reset + this.onArrowDownKey(event); } else { if (this.focusedOptionIndex !== -1) { this.onOptionSelect(event, this.visibleOptions[this.focusedOptionIndex]); - event.preventDefault(); } this.hide();