2021-01-01 01:25:20 +08:00
|
|
|
<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" refs="dropdown@toggle"
|
2019-08-25 01:26:28 +08:00
|
|
|
aria-haspopup="true" aria-expanded="false" tabindex="0">
|
2019-02-24 23:57:35 +08:00
|
|
|
<div class="separator">@icon('chevron-right')</div>
|
|
|
|
</div>
|
2021-01-01 01:25:20 +08:00
|
|
|
<div refs="dropdown@menu" class="dropdown-search-dropdown card" role="menu">
|
|
|
|
<div class="dropdown-search-search">
|
2019-02-24 23:57:35 +08:00
|
|
|
@icon('search')
|
2021-01-01 01:25:20 +08:00
|
|
|
<input refs="dropdown-search@searchInput"
|
2020-12-31 23:27:25 +08:00
|
|
|
aria-label="{{ trans('common.search') }}"
|
|
|
|
autocomplete="off"
|
|
|
|
placeholder="{{ trans('common.search') }}"
|
|
|
|
type="text">
|
2019-02-24 23:57:35 +08:00
|
|
|
</div>
|
2021-01-01 01:25:20 +08:00
|
|
|
<div refs="dropdown-search@loading">
|
2021-08-22 20:15:58 +08:00
|
|
|
@include('common.loading-icon')
|
2020-12-31 23:27:25 +08:00
|
|
|
</div>
|
2021-01-01 01:25:20 +08:00
|
|
|
<div refs="dropdown-search@listContainer" class="dropdown-search-list px-m"></div>
|
2019-02-24 23:57:35 +08:00
|
|
|
</div>
|
|
|
|
</div>
|