Commit ca9418ea by Oana Mangiurea Committed by GitHub

Update TextArea.mdx (#26225)

clarify form validation text

Co-authored-by: Clarity-89 <homes89@ukr.net>
parent 2446ee08
...@@ -12,7 +12,7 @@ Use for multi line inputs like descriptions. ...@@ -12,7 +12,7 @@ Use for multi line inputs like descriptions.
### Usage in forms with Field ### 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 ```jsx
<Field label="Important information" description="This information is very important, so you really need to fill it in"> <Field label="Important information" description="This information is very important, so you really need to fill it in">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment