Create base class for ajax-select

This commit is contained in:
2024-10-18 23:26:04 +02:00
parent b9cbba2309
commit 56cc4776a6
2 changed files with 68 additions and 29 deletions

View File

@ -157,12 +157,12 @@
<h5>{% trans %}People{% endtrans %}</h5>
{% if user.was_subscribed %}
<form @submit.prevent="submitIdentification" x-show="!!selector">
<ajax-select
<user-ajax-select
x-ref="search"
multiple
data-delay="300"
data-placeholder="{%- trans -%}Identify users on pictures{%- endtrans -%}"
></ajax-select>
delay="300"
placeholder="{%- trans -%}Identify users on pictures{%- endtrans -%}"
></user-ajax-select>
<input type="submit" value="{% trans %}Go{% endtrans %}"/>
</form>
{% endif %}