Skip to content

Commit 62fcc44

Browse files
Contact form: Add a character count and increase height of text area (#583)
➡️ [Preview](https://record-a-vac-contact-fo-aeruyy.herokuapp.com/contact-us)
1 parent 9db45c2 commit 62fcc44

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/views/contact-us.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,17 @@ <h2 class="nhsuk-heading-m">Contact us</h2>
9696
items: items
9797
}) }}
9898

99-
{{ textarea({
99+
{{ characterCount({
100100
name: "supportQuery",
101101
label: {
102102
text: "Details",
103103
classes: "nhsuk-label--s"
104104
},
105105
hint: {
106106
text: "Tell us more about the issue"
107-
}
107+
},
108+
maxlength: 500,
109+
rows: 10
108110
}) }}
109111

110112

0 commit comments

Comments
 (0)