x-govuk/govuk-form-builder

When using a proc for custom legend HTML, no legend tag is included by default

Closed this issue · 1 comments

fofr commented

https://govuk-form-builder.netlify.app/introduction/labels-captions-hints-and-legends/#fully-customising-legends-with-procs

Screen Shot 2020-09-29 at 11 39 48

Should the docs include a legend HTML tag here, or should the code be inserting one automatically?

Ah, that's an omission from the docs; the proc is intended to allow the legend to be fully controlled. Thanks, I'll get that sorted.