Form input example
Readonly
How it looks (preview)
How to call this example
<%= render "govuk_publishing_components/components/input", {
label: {
text: "Readonly attribute"
},
name: "readonly",
value: sanitize("You can't change me"),
readonly: true
} %>