mirror of
https://github.com/karatektus/pl_mail.git
synced 2026-10-25 10:04:18 +00:00
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:
1 parent
17001e105f
commit
dd6bd5a62b
1 file changed
+1
-2
@@ -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 %}
|
||||
|
||||
Reference in new issue
Block a user