Add and use textarea component from GOV.UK Frontend

For the "Something else" branding form we want the form label to be the
title. This brings in the textarea component from GOV.UK Frontend in
order to do this since that contains code to set a the textarea label as
the page heading in an accessible way.

The rest of the textarea fields have not been switched to use the new
component yet.
This commit is contained in:
Katie Smith
2022-01-28 16:28:35 +00:00
parent 88a003ff72
commit f9c551a558
5 changed files with 63 additions and 12 deletions

View File

@@ -72,7 +72,8 @@ const copy = {
'checkboxes',
'radios',
'input',
'inset-text'
'inset-text',
'textarea'
];
let done = 0;