Update TextArea.mdx (#26225)
clarify form validation text Co-authored-by: Clarity-89 <homes89@ukr.net>
This commit is contained in:
1 parent
2446ee08f1
commit
ca9418ea80
1 file changed
+1
-1
@@ -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">
|
||||
|
||||
Reference in new issue
Block a user