Skip to content

Commit

Permalink
Refactor #6773
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Nov 13, 2024
1 parent 142882f commit c4740ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/primevue/src/autocomplete/AutoComplete.vue
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export default {
this.show();
this.focusedOptionIndex = this.overlayVisible && this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1;
this.searching = false;
this.visibleOptions.length === 0 && this.hide();
!this.showEmptyMessage && this.visibleOptions.length === 0 && this.hide();
}
this.autoUpdateModel();
Expand Down

0 comments on commit c4740ac

Please sign in to comment.