You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -40,15 +40,15 @@ Add the `disabled` boolean attribute on an input to give it a grayed out appeara
40
40
41
41
## Readonly
42
42
43
-
Add the `readonly` boolean attribute on an input to prevent modification of the input's value.
43
+
Add the `readonly` boolean attribute on an input to prevent modification of the input's value.`readonly` inputs can still be focused and selected, while `disabled` inputs cannot.
If you want to have `<input readonly>` elements in your form styled as plain text, use the `.form-control-plaintext`class to remove the default form field styling and preserve the correct margin and padding.
51
+
If you want to have `<input readonly>` elements in your form styled as plain text, replace `.form-control` with `.form-control-plaintext` to remove the default form field styling and preserve the correct `margin` and `padding`.
0 commit comments