Skip to content

Commit ac868dc

Browse files
ENGCOM-1672: fix: support multiple minisearch widget instances #15485
- Merge Pull Request #15485 from DanielRuf/magento2:fix/minisearch-widget-multiple-instances - Merged commits: 1. 70c531a
2 parents 3b35bc5 + 70c531a commit ac868dc

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)