Compare commits

..

No commits in common. "268c2018ae1c6a68777da1d1e9a04cef5ea8251e" and "a2005c55aa34ba35cd9abc2ea9106be66748e7f9" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View File

@ -364,7 +364,6 @@ function initNewChoice(select: HTMLInputElement) {
steering_person.setAttribute("required", "required"); steering_person.setAttribute("required", "required");
} }
const choice = new Choices(select, { const choice = new Choices(select, {
searchFields: ['label', 'value', 'customProperties.searchableText'],
removeItemButton: true, removeItemButton: true,
loadingText: "Wird geladen...", loadingText: "Wird geladen...",
noResultsText: "Keine Ergebnisse gefunden", noResultsText: "Keine Ergebnisse gefunden",

View File

@ -86,7 +86,7 @@
<option value="{{ user.id }}" <option value="{{ user.id }}"
{% if sel %}selected{% endif %} {% if sel %}selected{% endif %}
{% if user.on_water %}disabled="disabled"{% endif %} {% if user.on_water %}disabled="disabled"{% endif %}
data-custom-properties='{"is_cox": {{ "cox" in user.roles }}, "is_racing": {{ "Rennrudern" in user.roles }}, "steers": {{ user.id == steering_person_id }}, "cox_on_boat": {{ user.id == cox_on_boat }}, "searchableText": "{{ user.nickname }}"}'> data-custom-properties='{"is_cox": {{ "cox" in user.roles }}, "is_racing": {{ "Rennrudern" in user.roles }}, "steers": {{ user.id == steering_person_id }}, "cox_on_boat": {{ user.id == cox_on_boat }}}'>
{{ user.name }} {{ user.name }}
{% if user.on_water %}(am Wasser){% endif %} {% if user.on_water %}(am Wasser){% endif %}
</option> </option>