diff --git a/CHANGELOG.md b/CHANGELOG.md index 19769fa03..80d0f44ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ - Added `required` to `sl-checkbox`, `sl-select`, and `sl-switch` - Added `reportValidity()` and `setCustomValidity()` methods to all form controls - Added validation checking for custom and native form controls to `sl-form` +- Added `novalidate` prop to `sl-form` to disable validation - Removed the `valid` prop from all form controls - Removed valid and invalid design tokens and related styles (you can use your own custom styles to achieve this) diff --git a/docs/components/form.md b/docs/components/form.md index 1442e21e9..7dc3bbbb6 100644 --- a/docs/components/form.md +++ b/docs/components/form.md @@ -4,9 +4,11 @@ Forms collect data that can easily be processed and sent to a server. -All of Shoelace's components make use of the [shadow DOM](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM) to encapsulate markup, styles, and behavior. One caveat of this approach is that native `