]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Remove incorrect statement about the disabled attribute on <form> (#35713)
authorToby Zerner <toby.zerner@gmail.com>
Tue, 1 Feb 2022 06:40:59 +0000 (17:40 +1100)
committerGitHub <noreply@github.com>
Tue, 1 Feb 2022 06:40:59 +0000 (08:40 +0200)
commit22bbff0b037de5e4cf9a44273c4383a27b9f274e
tree7094d6ab32f4f360ed9363021d8dc4d00926ad77
parent9d44b603d5bc4380eba162d6c1b0b7b763ec607b
Remove incorrect statement about the disabled attribute on <form> (#35713)

> You can disable every form element within a form with the `disabled` attribute on the `<form>`.

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 `<form>` does nothing on any browser in my testing.

The `disabled` attribute on a `<fieldset>` does disable all descendant form controls – perhaps that's where the mixup has come from.
site/content/docs/5.1/forms/layout.md