d20c74babf
Specifically updates dropdown search and user-search implementation, although does affect all inputs. Decouples breadcrum and select-style dropdown search toggles. Addresses #2678
23 lines
No EOL
1.1 KiB
PHP
23 lines
No EOL
1.1 KiB
PHP
<div class="dropdown-search" components="dropdown dropdown-search"
|
|
option:dropdown-search:url="/search/entity/siblings?entity_type={{$entity->getType()}}&entity_id={{ $entity->id }}"
|
|
option:dropdown-search:local-search-selector=".entity-list-item"
|
|
>
|
|
<div class="dropdown-search-toggle-breadcrumb" refs="dropdown@toggle"
|
|
aria-haspopup="true" aria-expanded="false" tabindex="0">
|
|
<div class="separator">@icon('chevron-right')</div>
|
|
</div>
|
|
<div refs="dropdown@menu" class="dropdown-search-dropdown card" role="menu">
|
|
<div class="dropdown-search-search">
|
|
@icon('search')
|
|
<input refs="dropdown-search@searchInput"
|
|
aria-label="{{ trans('common.search') }}"
|
|
autocomplete="off"
|
|
placeholder="{{ trans('common.search') }}"
|
|
type="text">
|
|
</div>
|
|
<div refs="dropdown-search@loading">
|
|
@include('common.loading-icon')
|
|
</div>
|
|
<div refs="dropdown-search@listContainer" class="dropdown-search-list px-m" tabindex="-1"></div>
|
|
</div>
|
|
</div> |