From: Toby Zerner Date: Tue, 1 Feb 2022 06:40:59 +0000 (+1100) Subject: Remove incorrect statement about the disabled attribute on
(#35713) X-Git-Tag: v5.2.0-beta1~289 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=22bbff0b037de5e4cf9a44273c4383a27b9f274e;p=thirdparty%2Fbootstrap.git Remove incorrect statement about the disabled attribute on (#35713) > You can disable every form element within a form with the `disabled` attribute on the ``. I really want to be mistaken, because this would be a very useful feature! But I don't believe it's true. I can't find anything about this on MDN Web Docs, and adding the `disabled` attribute to a `` does nothing on any browser in my testing. The `disabled` attribute on a `
` does disable all descendant form controls – perhaps that's where the mixup has come from. --- diff --git a/site/content/docs/5.1/forms/layout.md b/site/content/docs/5.1/forms/layout.md index 47e2f8ab7b..21423040e4 100644 --- a/site/content/docs/5.1/forms/layout.md +++ b/site/content/docs/5.1/forms/layout.md @@ -12,7 +12,6 @@ Every group of form fields should reside in a `` element. Bootstrap provid - New to browser forms? Consider reviewing [the MDN form docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) for an overview and complete list of available attributes. - `