Skip to content

Commit 74d5bb8

Browse files
committed
wip: testing character limits
1 parent f3cde48 commit 74d5bb8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/components/question/text_component/view.html.erb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@
66
<%= form_builder.govuk_text_area :text,
77
label: { text: question_text_with_extra_suffix, **question_text_size_and_tag },
88
hint: { text: question.hint_text },
9+
max_chars: 4999,
10+
threshold: 99,
911
rows: 5 %>
1012
<% end %>

0 commit comments

Comments
 (0)