From 22bbff0b037de5e4cf9a44273c4383a27b9f274e Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Tue, 1 Feb 2022 17:40:59 +1100 Subject: [PATCH] Remove incorrect statement about the disabled attribute on
(#35713) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit > 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. --- site/content/docs/5.1/forms/layout.md | 1 - 1 file changed, 1 deletion(-) 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. - `