Skip to content

Commit

Permalink
Docs(form-validations): Introduce migration guide for v1 refs #DS-800
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Jul 21, 2023
1 parent 884ad9d commit 027004b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/form-validations/MIGRATION-v1.md
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.

0 comments on commit 027004b

Please sign in to comment.