govuk-prototype-kit icon indicating copy to clipboard operation
govuk-prototype-kit copied to clipboard

the "how to pass data" guide has confusing code examples

Open joelanman opened this issue 3 years ago • 1 comments

https://govuk-prototype-kit.herokuapp.com/docs/examples/pass-data

the "Showing answers in inputs " section has example code that doesn't include any GOV.UK Frontend classes

might be better to have full examples with GOVUK Frontend code

joelanman avatar Aug 18 '20 12:08 joelanman

On the basis of discussing this with the team we'd like to use the macros to generate the HTML for these examples so that it doesn't get out of sync with GOV.UK Frontend code. However if this isn't possible without spending more than the triaged 'hours' on this we should just hardcode the examples to use GOV.UK Frontend HTML.

hannalaakso avatar Aug 24 '20 13:08 hannalaakso