Skip to content

Commit

Permalink
fix: add name to textarea (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
sohnj877 authored Apr 15, 2024
1 parent 27b6344 commit cb009c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions theme/partials/form/textarea.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<textarea
id="textarea-{{ textareaId }}"
x-model="{% if parentModel %}{{ parentModel }}{% else %}model{% endif %}"
name="{{ name|default(label) }}"
placeholder="{{ placeholder|default('') }}"
{% if max %}maxlength="{{ max }}"{% endif %}
class="form-textarea__input"
Expand Down

0 comments on commit cb009c9

Please sign in to comment.