-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs(form-validations): Introduce migration guide for v1 refs #DS-800
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Migration Guide | ||
|
||
Introducing version 1 of the _spirit-form-validations_ package | ||
|
||
> Please follow these steps to safely upgrade your Design System to Spirit Design System v1 components. | ||
## Rename `validator_message` to `validation_text` [#DS-838](https://jira.lmc.cz/browse/DS-838) ([ba96ea6](https://github.com/lmc-eu/spirit-design-system/commit/ba96ea6)) | ||
|
||
Instead of the `validator_message` value of the `data-spirit-element` attribute, use `validation_text`. | ||
|
||
- `<div data-spirit-element="validator_message">…</div>` → `<div data-spirit-element="validation_text">…</div>` | ||
|
||
--- | ||
|
||
Please refer back to these instructions or reach out to our team if you encounter any issues during migration. |