mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-04 10:13:30 +02:00
Fix for no char limit on no other employees textarea
This commit is contained in:
parent
04b4ca355a
commit
1cab7537d7
2 changed files with 9 additions and 1 deletions
|
@ -610,6 +610,12 @@ class NoOtherContactsForm(RegistrarForm):
|
|||
"we can contact to help us assess your eligibility for a .gov domain."
|
||||
),
|
||||
widget=forms.Textarea(),
|
||||
validators=[
|
||||
MaxLengthValidator(
|
||||
1000,
|
||||
message="Response must be less than 1000 characters.",
|
||||
)
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -2,5 +2,7 @@
|
|||
{% load static field_helpers %}
|
||||
|
||||
{% block form_fields %}
|
||||
{% input_with_errors forms.0.no_other_contacts_rationale %}
|
||||
{% with attr_maxlength=1000 add_label_class="usa-sr-only" %}
|
||||
{% input_with_errors forms.0.no_other_contacts_rationale %}
|
||||
{% endwith %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue