Skip to content

Commit 86792ef

Browse files
ENGCOM-1672: fix: support multiple minisearch widget instances #15485
2 parents f83e947 + ac868dc commit 86792ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Search/view/frontend/web/form-mini.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ define([
5555
this.autoComplete = $(this.options.destinationSelector);
5656
this.searchForm = $(this.options.formSelector);
5757
this.submitBtn = this.searchForm.find(this.options.submitBtn)[0];
58-
this.searchLabel = $(this.options.searchLabel);
58+
this.searchLabel = this.searchForm.find(this.options.searchLabel);
5959
this.isExpandable = this.options.isExpandable;
6060

6161
_.bindAll(this, '_onKeyDown', '_onPropertyChange', '_onSubmit');

0 commit comments

Comments
 (0)