Skip to content

Commit eb88ab8

Browse files
authored
Add note to CTAForm docs with validation recommendation (#1038)
* add note to CTAForm docs to with validation recommendation * rephrasing * fix broken docs link
1 parent b3ba1dc commit eb88ab8

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

apps/docs/content/components/CTAForm/react.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ import {CTAForm} from '@primer/react-brand'
2424

2525
## Examples
2626

27+
For simplicity, examples on this page use default browser validation.
28+
29+
Use [`FormControl` validation](/components/FormControl/#validation) to display the correct status in accordance with [Primer form guidelines](https://primer.style/product/ui-patterns/forms/#validation).
30+
2731
### Default
2832

2933
```jsx live

apps/next-docs/content/components/CTAForm/react.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ import {CTAForm} from '@primer/react-brand'
1616

1717
## Examples
1818

19+
For simplicity, examples on this page use default browser validation.
20+
21+
Use [`FormControl` validation](/forms/FormControl/#validation) to display the correct status in accordance with [Primer form guidelines](https://primer.style/product/ui-patterns/forms/#validation).
22+
1923
### Default
2024

2125
```jsx live

0 commit comments

Comments
 (0)