Update TextArea.mdx (#26225)

clarify form validation text

Co-authored-by: Clarity-89 <homes89@ukr.net>
This commit is contained in:
Oana Mangiurea 2020-07-24 10:31:08 +03:00 committed by GitHub
parent 2446ee08f1
commit ca9418ea80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ Use for multi line inputs like descriptions.
### Usage in forms with Field
`TextArea` should be used with the `Field` component to get labels and descriptions. It should also be used for validation. See the `Field` component for more information.
`TextArea` should be used with the `Field` component to get labels and descriptions. It can also be used for validation by using the `required` attribute. See the `Field` component for more information.
```jsx
<Field label="Important information" description="This information is very important, so you really need to fill it in">