Skip to content

Commit

Permalink
docs: updated to new syntax (#3641)
Browse files Browse the repository at this point in the history
* docs: updated to new syntax

* docs: updated to new syntax
  • Loading branch information
mfranzke authored Jan 6, 2025
1 parent cb7cf2b commit c793602
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/components/docs/Validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ If you use some framework you can pass the props `invalidMessage` and `validMess

## Programmatically set / handle validation by yourself

You can use `data-custom-validity|customValidity="'invalid' | 'valid' | 'no-validation'"` to disable [`:user-valid`](https://developer.mozilla.org/en-US/docs/Web/CSS/:user-valid).
You can use `data-validation|validation="'invalid' | 'valid' | 'no-validation'"` to disable [`:user-valid`](https://developer.mozilla.org/en-US/docs/Web/CSS/:user-valid).

> **Note:** This may lead to problems and inconsistency, only use it if you know what you do, and have specific validation conditions that aren't possible to get defined by the huge range of already existing [validation conditions and patterns through attributs](https://developer.mozilla.org/en-US/docs/Learn/Forms/Form_validation#using_built-in_form_validation).
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const ColorUsageGuide = () => {
</p>
<DBSection>
<ArcherContainer
strokeColor="var(--db-current-color-border)"
strokeColor="var(--db-adaptive-on-bg-basic-emphasis-60-default)"
endMarker={true}
endShape={{ arrow: { arrowLength: 5, arrowThickness: 5 } }}>
<div className="decision-tree" data-density="functional">
Expand Down

0 comments on commit c793602

Please sign in to comment.