Skip to content

Commit

Permalink
fix(ui5-input): prevent exception if there are suggestion but propert…
Browse files Browse the repository at this point in the history
…y is false (#5219)
  • Loading branch information
ivoplashkov authored May 18, 2022
1 parent ed9d74f commit eb57cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/main/src/Input.js
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ class Input extends UI5Element {
}

async onAfterRendering() {
if (this.Suggestions) {
if (this.Suggestions && this.showSuggestions) {
this.Suggestions.toggle(this.open, {
preventFocusRestore: true,
});
Expand Down

0 comments on commit eb57cef

Please sign in to comment.