Skip to content

Commit

Permalink
Remove maxlength of textarea input
Browse files Browse the repository at this point in the history
  • Loading branch information
laurensWe committed Dec 16, 2024
1 parent 4abaa2b commit 80c0b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amt/site/templates/macros/form_macros.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@
</div>
<div id="error-{{ field.name }}" class="htmx-error-oob"></div>
<div class="rvo-layout-column rvo-layout-gap--xs">
<textarea id="{{ prefix }}{{ field.name }}" name="{{ field.name }}" placeholder="{{ field.placeholder }}" maxLength="300" aria-describedby="helperTextId" class="utrecht-textarea utrecht-textarea--html-textarea" dir="auto" onchange="amt.reset_errorfield('error-{{ field.name }}')" {% if isinstance(field.attributes, "dict") %} {% for key, value in field.attributes.items() %}{{ key }}="{{ value }}"{% endfor %}{% endif %}>{{ field.default_value }}</textarea>
<textarea id="{{ prefix }}{{ field.name }}" name="{{ field.name }}" placeholder="{{ field.placeholder }}" aria-describedby="helperTextId" class="utrecht-textarea utrecht-textarea--html-textarea" dir="auto" onchange="amt.reset_errorfield('error-{{ field.name }}')" {% if isinstance(field.attributes, "dict") %} {% for key, value in field.attributes.items() %}{{ key }}="{{ value }}"{% endfor %}{% endif %}>{{ field.default_value }}</textarea>
{# TODO: Fix when we upgrade to higher @nl-rvo npm package #}
{# <span class="utrecht-textbox-remaining-chars">{% trans %}Still{% endtrans %} <strong>300</strong> {% trans %}Characters remaining{% endtrans %}</span>#}
</div>
Expand Down

0 comments on commit 80c0b34

Please sign in to comment.