Bug fixes

This commit is contained in:
Bad Manners 2025-04-14 23:12:14 -03:00
parent 7f533cc583
commit bb118f6144
11 changed files with 123 additions and 82 deletions

View file

@ -13,6 +13,13 @@
<h1>Upload media</h1>
<form method="post" action="/upload" enctype="multipart/form-data">
{% let tags_value = "" %} {% include "fragments/tags_input.html" %}
<div
hx-trigger="keyup[key=='Escape'] from:previous .tags"
hx-target="next .tags-autocomplete"
hx-swap="innerHTML"
hx-delete="/remove"
hidden
></div>
<ul class="reset tags-autocomplete" id="upload-autocomplete"></ul>
<input
type="file"