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