From b01a64e146951d46c9cc047c6b2ce48bca502b1d Mon Sep 17 00:00:00 2001 From: Oana Mangiurea Date: Wed, 9 Sep 2020 17:24:31 +0300 Subject: [PATCH] Update Input.mdx (#26226) * Update Input.mdx clarify form validation text * Update packages/grafana-ui/src/components/Input/Input.mdx Align with textArea Co-authored-by: Peter Holmberg Co-authored-by: Peter Holmberg Co-authored-by: Clarity-89 --- packages/grafana-ui/src/components/Input/Input.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grafana-ui/src/components/Input/Input.mdx b/packages/grafana-ui/src/components/Input/Input.mdx index 67be24b9a60..839b86e14a6 100644 --- a/packages/grafana-ui/src/components/Input/Input.mdx +++ b/packages/grafana-ui/src/components/Input/Input.mdx @@ -21,7 +21,7 @@ To add more context to the input you can add either text or an icon before or af ## Usage in forms with Field -`Input` 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. +`Input` 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