Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix misleading instruction for disabled on <Form> #6692

Merged
merged 1 commit into from
Sep 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions www/docs/forms/layout.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ powerful browser features that are provided by default.
for an overview and complete list of available attributes.
- `<button>`s within a `<Form>` default to `type="submit"`, so strive to be
specific and always include a `type`.
- You can disable every form element within a form with the `disabled` attribute
on the `<Form>`.
- You can disable all controls within a form by wrapping them in
a `<fieldset>` and setting the `disabled` attribute on it.

Since Bootstrap applies `display: block` and `width: 100%` to almost all our
form controls, forms will by default stack vertically. Additional classes can
Expand Down