A client noticed that the search preview isn't working in the fasten header. Anyone have any idea why it wouldn't? It's working in the main search form, just not the sticky / fasten header. Using the default search form:
<form class="t-site-header__search-form" method="post" action="&mvte:urls:SRCH:rr;">
<fieldset>
<legend>Product Search</legend>
<ul class="c-form-list">
<li class="c-form-list__item c-form-list__item--full c-control-group u-flex">
<input class="c-form-input c-control-group__field u-bg-transparent u-border-none" data-mm_searchfield="Yes" data-mm_searchfield_id="x-search-preview--fasten" type="search" name="Search" value="&mvte:global:Search;" placeholder="Search" autocomplete="off" required>
<button class="c-button c-button--large c-control-group__button u-bg-transparent u-color-gray-50 u-icon-search u-border-none" type="submit"></button>
</li>
</ul>
</fieldset>
<span class="x-search-preview u-color-gray-50" data-mm_searchfield_menu="Yes" data-mm_searchfield_id="x-search-preview--fasten"></span>
</form>
I made sure that the scripts match what's in the Shadows docs as well. Is this an error that's been fixed in the past?
<form class="t-site-header__search-form" method="post" action="&mvte:urls:SRCH:rr;">
<fieldset>
<legend>Product Search</legend>
<ul class="c-form-list">
<li class="c-form-list__item c-form-list__item--full c-control-group u-flex">
<input class="c-form-input c-control-group__field u-bg-transparent u-border-none" data-mm_searchfield="Yes" data-mm_searchfield_id="x-search-preview--fasten" type="search" name="Search" value="&mvte:global:Search;" placeholder="Search" autocomplete="off" required>
<button class="c-button c-button--large c-control-group__button u-bg-transparent u-color-gray-50 u-icon-search u-border-none" type="submit"></button>
</li>
</ul>
</fieldset>
<span class="x-search-preview u-color-gray-50" data-mm_searchfield_menu="Yes" data-mm_searchfield_id="x-search-preview--fasten"></span>
</form>
I made sure that the scripts match what's in the Shadows docs as well. Is this an error that's been fixed in the past?
Comment