Fixed issue #546 - Do not show arrow down on ajax auto completion fields.
This commit is contained in:
parent
32532ae7c5
commit
baffceda52
3 changed files with 4 additions and 3 deletions
|
@ -14,7 +14,8 @@ class App.UiElement.autocompletion_ajax
|
|||
name: attribute.name
|
||||
id: params.organization_id || attribute.value
|
||||
placeholder: App.i18n.translateInline('Search...')
|
||||
limt: 10
|
||||
limit: 40
|
||||
object: attribute.relation
|
||||
ajax: true
|
||||
)
|
||||
searchableAjaxSelectObject.element()
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<span class="searchableSelect-autocomplete-invisible js-autocomplete-invisible"></span>
|
||||
<span class="searchableSelect-autocomplete-visible js-autocomplete-visible"></span>
|
||||
</div>
|
||||
<%- @Icon('arrow-down', 'dropdown-arrow') %>
|
||||
<% if !@ajax: %><%- @Icon('arrow-down', 'dropdown-arrow') %><% end %>
|
||||
<div class="small loading icon"></div>
|
||||
</div>
|
||||
<ul class="dropdown-menu dropdown-menu-left js-optionsList" role="menu">
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<%- @tokens %>
|
||||
<% end %>
|
||||
<input name="<%- @attribute.name %>_completion" class="user-select token-input js-userSelect" autocapitalize="off" placeholder="<%- @attribute.placeholder %>" autocomplete="off" role="textbox" aria-autocomplete="list" value="<%= @name %>" aria-haspopup="true">
|
||||
<%- @Icon('arrow-down', 'dropdown-arrow') %>
|
||||
<% if @attribute.disableCreateUser isnt true: %><%- @Icon('arrow-down', 'dropdown-arrow') %><% end %>
|
||||
</div>
|
||||
|
||||
<div class="dropdown-menu" aria-labelledby="customer_id">
|
||||
|
|
Loading…
Reference in a new issue