1
1
mirror of https://github.com/primer/css.git synced 2024-09-20 21:28:20 +03:00

Update forms.md

This commit is contained in:
simurai 2020-03-12 10:20:21 +09:00
parent caf524cecb
commit 1b7627262b

View File

@ -222,7 +222,7 @@ Use the `.select-sm` class to resize both default and custom `<select>`s to matc
#### Form group validation
Convey success, errors and warnings for form groups. For github.com consider using the [`<auto-check>`](https://github.github.io/web-systems-documentation/demo/custom_elements/auto_check/) 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>` element to perform server-side validation on an input.
If the input is **valid**, add the `.successed` class to the `<div class="form-group">` element. Next add/update a success message to the `.note` element, as well as the `.success` class.