diff --git a/docs/components/select.md b/docs/components/select.md index 85c7907f..2a3b94c3 100644 --- a/docs/components/select.md +++ b/docs/components/select.md @@ -156,28 +156,4 @@ Add descriptive help text to an input with the `help-text` slot. ``` -### Validation - -Show a valid or invalid state by setting the `valid` and `invalid` attributes, respectively. Help text can be used to provide feedback for validation and will be styled accordingly. - -```html preview - - Option 1 - Option 2 - Option 3 - -
This is a valid selection!
-
- -
- - - Option 1 - Option 2 - Option 3 - -
This is not a valid selection!
-
-``` - [component-metadata:sl-select] diff --git a/docs/components/textarea.md b/docs/components/textarea.md index 72876279..4ab95e5a 100644 --- a/docs/components/textarea.md +++ b/docs/components/textarea.md @@ -68,22 +68,6 @@ Add descriptive help text to a textarea with the `help-text` slot. ``` -### Validation - -Show a valid or invalid state by setting the `valid` and `invalid` attributes, respectively. Help text can be used to provide feedback for validation and will be styled accordingly. - -```html preview - -
This is a valid textarea.
-
- -
- - -
This is an invalid textarea.
-
-``` - ### Prevent Resizing By default, textareas can be resized vertically by the user. To prevent resizing, set the `resize` attribute to `none`.