Browse Source

Add ctrl-enter to tag autocomplete form

merge-requests/74/head
Adams T 5 years ago
committed by Deimos
parent
commit
f096cd59c8
  1. 2
      tildes/tildes/templates/macros/forms.jinja2

2
tildes/tildes/templates/macros/forms.jinja2

@ -33,7 +33,7 @@
{% endmacro %} {% endmacro %}
{% macro topic_tagging(value=None, auto_focus=False, autocomplete_options=None) %} {% macro topic_tagging(value=None, auto_focus=False, autocomplete_options=None) %}
<div class="form-autocomplete form-group" data-js-autocomplete-container>
<div class="form-autocomplete form-group" data-js-autocomplete-container data-js-ctrl-enter-submit-form>
<label class="form-label" for="tags"> <label class="form-label" for="tags">
<span>Tags (optional, comma-separated)</span> <span>Tags (optional, comma-separated)</span>
<a href="https://docs.tildes.net/topic-tagging" target="_blank" tabindex="-1">Tagging help</a> <a href="https://docs.tildes.net/topic-tagging" target="_blank" tabindex="-1">Tagging help</a>

Loading…
Cancel
Save