diff options
-rw-r--r-- | site/content/docs/5.0/forms/form-control.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/site/content/docs/5.0/forms/form-control.md b/site/content/docs/5.0/forms/form-control.md index 057b785b12..9c1c495b16 100644 --- a/site/content/docs/5.0/forms/form-control.md +++ b/site/content/docs/5.0/forms/form-control.md @@ -35,15 +35,15 @@ Add the `disabled` boolean attribute on an input to give it a grayed out appeara {{< example >}} <input class="form-control" type="text" placeholder="Disabled input" aria-label="Disabled input example" disabled> -<input class="form-control" type="text" placeholder="Disabled readonly input" aria-label="Disabled input example" disabled readonly> +<input class="form-control" type="text" value="Disabled readonly input" aria-label="Disabled input example" disabled readonly> {{< /example >}} ## Readonly -Add the `readonly` boolean attribute on an input to prevent modification of the input's value. Read-only inputs appear lighter (just like disabled inputs), but retain the standard cursor. +Add the `readonly` boolean attribute on an input to prevent modification of the input's value. {{< example >}} -<input class="form-control" type="text" placeholder="Readonly input here..." aria-label="readonly input example" readonly> +<input class="form-control" type="text" value="Readonly input here..." aria-label="readonly input example" readonly> {{< /example >}} ## Readonly plain text |