Skip to content

Commit

Permalink
Remove X from search input when no text
Browse files Browse the repository at this point in the history
  • Loading branch information
tischsoic committed Feb 4, 2022
1 parent 689474f commit 09f7546
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,19 @@
<div class="ibexa-available-field-types__search-bar">
{% embed '@ibexadesign/ui/component/input_text.html.twig' with { has_search: true, search_button_type: 'button' } %}
{% block content %}
<input type="text" class="ibexa-input ibexa-input--text ibexa-available-field-types__sidebar-filter form-control" />
<input
type="text"
class="ibexa-input ibexa-input--text ibexa-available-field-types__sidebar-filter form-control"
placeholder=" "
/>
{% endblock %}
{% endembed %}
</div>
<ul class="ibexa-available-field-types__list">
<ul class="ibexa-available-field-types__list">
{% for item in field_type_toolbar %}
<li
<li
draggable="{{ is_draggable is not defined or is_draggable == true ? 'true' : 'false' }}"
class="ibexa-available-field-type"
class="ibexa-available-field-type"
data-item-identifier="{{ item.identifier }}"
>
<div class="ibexa-available-field-type__drag">
Expand Down

0 comments on commit 09f7546

Please sign in to comment.