1
1
mirror of https://github.com/primer/css.git synced 2024-11-09 22:56:26 +03:00

Deprecate form validation (#2301)

This commit is contained in:
simurai 2022-11-03 12:57:01 +09:00 committed by GitHub
parent b826729622
commit a7547f4d34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -232,7 +232,11 @@ Use the `.select-sm` class to resize both default and custom `<select>`s to matc
</form> </form>
``` ```
## Form group validation ## Form group validation (deprecated)
<Note>
These form validation styles are deprecated. Please use the <a href="https://primer.style/view-components/components/alpha/textfield#with-a-validation-message">TextField</a> ViewComponent instead or refer to the <a href="https://primer.style/design/ui-patterns/forms#validation">design guidelines</a>.
</Note>
Convey success, errors and warnings for form groups. For github.com consider using the [`<auto-check>`](https://github.github.io/web-systems-documentation/#custom-elements-auto-check-md) element to perform server-side validation on an input. Convey success, errors and warnings for form groups. For github.com consider using the [`<auto-check>`](https://github.github.io/web-systems-documentation/#custom-elements-auto-check-md) element to perform server-side validation on an input.