From 79a880858bc08affe5531e62466e22634d18bc3e Mon Sep 17 00:00:00 2001 From: Danila Gulderov Date: Tue, 29 Aug 2023 02:26:24 +0300 Subject: [PATCH] (OUI Docs) Update Form validation page (#986) * Align with updated form validation guidelines (#885) Signed-off-by: Danila Gulderov * changelog update (#885) Signed-off-by: Danila Gulderov * Update CHANGELOG.md Co-authored-by: Miki Signed-off-by: Danila Gulderov --------- Signed-off-by: Danila Gulderov Co-authored-by: Miki --- CHANGELOG.md | 1 + src-docs/src/views/form_validation/form_validation_example.js | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c69e84356d..ef90c5365d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ ### 📝 Documentation - Add dark prop toggles ([#910](https://github.com/opensearch-project/oui/pull/910)) +- Remove language from the form validation documentation that doesn't align with the updated guidelines ([#986](https://github.com/opensearch-project/oui/pull/986)) ### 🛠 Maintenance diff --git a/src-docs/src/views/form_validation/form_validation_example.js b/src-docs/src/views/form_validation/form_validation_example.js index b2df118557..0a0294ae58 100644 --- a/src-docs/src/views/form_validation/form_validation_example.js +++ b/src-docs/src/views/form_validation/form_validation_example.js @@ -37,9 +37,7 @@ export const FormValidationExample = { Validation is achieved by applying isInvalid and optionally error props onto the OuiForm or{' '} OuiFormRow components. Errors are optional and are - passed as an array in case you need to list more than one. You can - also hide the callout by passing - invalidCallout=“none“. + passed as an array in case you need to list more than one.

), source: [