mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 17:39:06 +02:00
Fixed missing dropdown after some link navigations
This commit is contained in:
parent
faa3bea3ab
commit
746ba398a9
2 changed files with 2 additions and 107 deletions
|
@ -69,7 +69,8 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div {{ stimulus_controller('elements/part_livesearch') }} class="mt-auto mb-auto"
|
||||
{# It is important that this element has an id field. Otherwise the dropdown panel wont appear after some link clicks #}
|
||||
<div {{ stimulus_controller('elements/part_livesearch') }} class="mt-auto mb-auto" id="navbar-quicksearch-container"
|
||||
data-autocomplete="{{ path('typeahead_parts', {'query': '__QUERY__'}) }}" data-detail-url="{{ path('part_info', {'id': '__ID__'}) }}">
|
||||
<input type="hidden" name="keyword" required {{ stimulus_target('elements/part_livesearch', 'input') }}>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue