Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: updated to new syntax #3641

Merged
merged 3 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading