[RMV] ASSET: Removed search select from asset view
This commit is contained in:
@@ -56,16 +56,16 @@
|
||||
<div class="oh-input-group oh-input__search-group "
|
||||
:class="searchShow ? 'oh-input__search-group--show' : ''">
|
||||
<!-- search form start -->
|
||||
<form id="searchForm" hx-get="{% url 'asset-category-view-search-filter' %}?asset_list=asset" hx-target="#assetCategoryList">
|
||||
<form id="searchForm" hx-trigger="keyup delay:0.5s" hx-get="{% url 'asset-category-view-search-filter' %}?asset_list=asset&type=asset" hx-target="#assetCategoryList">
|
||||
<ion-icon name="search-outline" class="oh-input-group__icon oh-input-group__icon--left"></ion-icon>
|
||||
<input name="search" type="text" id="assetSearchField" class="oh-input oh-input__icon " aria-label="Search Input" placeholder="{% trans 'Search' %}" />
|
||||
<select size="2" name="type" class='oh-input__icon'
|
||||
{% comment %} <select size="2" name="type" class='oh-input__icon'
|
||||
onclick="document.getElementById('searchForm').dispatchEvent(new Event('submit'));"
|
||||
style="border: none;overflow: hidden; display: flex; position: absolute; z-index: 999; margin-left:8%;"
|
||||
>
|
||||
<option value="asset">{% trans "Search in :Asset" %}</option>
|
||||
<option value="category" >{% trans "Search in :Asset Category" %}</option>
|
||||
</select>
|
||||
</select> {% endcomment %}
|
||||
</form>
|
||||
<!-- end of search -->
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user