mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Update TextArea.mdx (#26225)
clarify form validation text Co-authored-by: Clarity-89 <homes89@ukr.net>
This commit is contained in:
parent
2446ee08f1
commit
ca9418ea80
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user