Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajesh Kumar <53071109+rajesh2kumar96@users.noreply.github.com>2021-06-03 09:14:10 +0300
committerGitHub <noreply@github.com>2021-06-03 09:14:10 +0300
commit071a288d39f70719c771cd56ded6c36b5d150a83 (patch)
tree699595146105c65c5744991f7f1543cf12233738 /site/content/docs
parent46045b4a9b21b0a55ea8867ad7f3dc17e1c6cfee (diff)
Placeholder changes to input value in readonly input. (#34040)
* placeholder changes to input value * Fix content and add value to readOnly input * add value in readonly input * Update site/content/docs/5.0/forms/form-control.md Co-authored-by: Rajesh Kumar <https://github.com/rajesh2kumar96> Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk> Co-authored-by: Mark Otto <otto@github.com>
Diffstat (limited to 'site/content/docs')
-rw-r--r--site/content/docs/5.0/forms/form-control.md6
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