fix(ui): drop the compose window's undeclared formErrors target

compose--compose never declared or read it, so the attribute promised a
hook that did not exist.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Paul LütznerandClaude Opus 5.5 committed 2026-09-23 19:18:25 +02:00
1 parent 17001e105f
commit dd6bd5a62b
1 file changed
+1 -2
+1 -2
View File
@@ -358,8 +358,7 @@ Variables: form, message, ctx (an App\Domain\DTO\Mail\ComposeContext)
inline composer, and a refusal nobody can see is the bug being
fixed here, not a shape to reproduce. #}
{% if form.vars.errors|length > 0 %}
<div class="px-4 py-2 shrink-0" role="alert" aria-live="assertive"
data-compose--compose-target="formErrors">
<div class="px-4 py-2 shrink-0" role="alert" aria-live="assertive">
{% for error in form.vars.errors %}
<p class="text-xs text-danger">{{ error.message }}</p>
{% endfor %}