Skip to content

Commit

Permalink
(OUI Docs) Update Form validation page (#986)
Browse files Browse the repository at this point in the history
* Align with updated form validation guidelines (#885)

Signed-off-by: Danila Gulderov <danila@gulderov.me>

* changelog update (#885)

Signed-off-by: Danila Gulderov <danila@gulderov.me>

* Update CHANGELOG.md

Co-authored-by: Miki <amoo_miki@yahoo.com>
Signed-off-by: Danila Gulderov <danila@gulderov.me>

---------

Signed-off-by: Danila Gulderov <danila@gulderov.me>
Co-authored-by: Miki <amoo_miki@yahoo.com>
  • Loading branch information
gulderov and AMoo-Miki authored Aug 28, 2023
1 parent 5fe0b22 commit 79a8808
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ export const FormValidationExample = {
Validation is achieved by applying <OuiCode>isInvalid</OuiCode> and
optionally error props onto the <strong>OuiForm</strong> or{' '}
<strong>OuiFormRow</strong> 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
<OuiCode>invalidCallout=&ldquo;none&ldquo;</OuiCode>.
passed as an array in case you need to list more than one.
</p>
),
source: [
Expand Down

0 comments on commit 79a8808

Please sign in to comment.