1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 01:48:21 +02:00

Made trust adding widget resetable, corrected the unexpected empty field behavior and improved autocomplete's responsiveness

This commit is contained in:
Nicolas Margulies
2022-04-29 01:40:43 +02:00
parent 4fb0b7d736
commit 7afc583282
3 changed files with 11 additions and 9 deletions

View File

@ -12,6 +12,6 @@ SPDX-License-Identifier: GPL-3.0-or-later
{% endfor %}
aria-describedby="{{widget.attrs.id}}_tooltip">
{% if widget.resetable %}
<a id="{{ widget.attrs.id }}_reset" class="btn btn-light autocomplete-reset{% if not widget.value %} d-none{% endif %}">{% trans "Reset" %}</a>
<a id="{{ widget.attrs.id }}_reset" class="btn btn-light autocomplete-reset">{% trans "Reset" %}</a>
{% endif %}