HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/topswtw.komma.pro/app/views/partials/searchBarSuggest.blade.php
<div ng-controller="TopsSearch">

    {{ Form::open([
        'method' => 'get',
        'url' =>  $shop->getPageService()->page('search')->route,
        'name' => 'search_form',
        'class' => 'search-bar'
        ]) }}

    {{ Form::input('search', 'q', Input::get('q'), [
        'ng-model' => 'selected',
        'typeahead' => 'item as item.text for item in getLocation($viewValue, "/'.$shop->getPageService()->page('search')->route.'") | filter:{text:$viewValue}',
        'typeahead-template-url' => '/js/tmpl/typeaheadItem.tmpl.html',
        'placeholder' => Lang::get('partials/search.placeholder'),
        'autocomplete' => 'prevent',
        'typeahead-on-select' => 'selectItem($item,$model,$label)',
        'typeahead-focus-first' => 'false',
        'id'=> 'top-search-bar'
    ]) }}

        <div class="search-submit">
            {{ Form::submit('', ['class' => 'magnifier']) }}
        </div>

    {{ Form::close() }}

</div>