You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/components/forms.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -232,7 +232,11 @@ Use the `.select-sm` class to resize both default and custom `<select>`s to matc
232
232
</form>
233
233
```
234
234
235
-
## Form group validation
235
+
## Form group validation (deprecated)
236
+
237
+
<Note>
238
+
These form validation styles are deprecated. Please use the <ahref="https://primer.style/view-components/components/alpha/textfield#with-a-validation-message">TextField</a> ViewComponent instead or refer to the <ahref="https://primer.style/design/ui-patterns/forms#validation">design guidelines</a>.
239
+
</Note>
236
240
237
241
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.
0 commit comments