Skip to content

Commit 523ecda

Browse files
authored
Add missing name attribute to Comment Form email input (#1500)
1 parent 9bf7dd9 commit 523ecda

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/few-ducks-shake.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@cloudfour/patterns': patch
3+
---
4+
5+
Add missing `name` attribute to Comment Form email input

src/components/comment-form/comment-form.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
{% endembed %}
5454
{% embed '@cloudfour/objects/form-group/form-group.twig' with { label: 'Email', class: 'c-comment-form__email' } only %}
5555
{% block control %}
56-
{% include '@cloudfour/components/input/input.twig' with { type: 'email', autocomplete: 'home email', required: true } only %}
56+
{% include '@cloudfour/components/input/input.twig' with { name: 'email', type: 'email', autocomplete: 'home email', required: true } only %}
5757
{% endblock %}
5858
{% endembed %}
5959
{% endif %}

0 commit comments

Comments
 (0)