From 4aa2de9ca210c508b093f05a22eb56dcf033aa72 Mon Sep 17 00:00:00 2001 From: Enis Necipoglu Date: Sat, 17 Sep 2022 17:23:31 +0300 Subject: [PATCH] Create migrating-to-v4.1.md --- docs/en/migration-guides/migrating-to-v4.1.md | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 docs/en/migration-guides/migrating-to-v4.1.md diff --git a/docs/en/migration-guides/migrating-to-v4.1.md b/docs/en/migration-guides/migrating-to-v4.1.md new file mode 100644 index 0000000..095b9f3 --- /dev/null +++ b/docs/en/migration-guides/migrating-to-v4.1.md @@ -0,0 +1,56 @@ +# Migrating to v4.0 + +InputKit version 4.1 is a major release. It has many new features and improvements. Some of them makes breaking-changes. + +## What's new? +Validation logic is changed completely. Most of properties are removed and validation classes are added. You can read more about it [here](../components/controls/FormView.md#validations). + +## Breaking changes + +Validation is a cross-cutting concern, so lots of components are affected by this change. You should take action if you're using any of them. + +### CheckBox + +- `IsRequired` is removed +- `IsValidated` is renamed to IsValid +- `ValidationMessage` is removed + + New usage is like below: + ```xml + + + + + + ``` + +### RadioButton +- `IsRequired` is removed +- `IsValidated` is renamed to IsValid +- `ValidationMessage` is removed + + New usage is like below: + ```xml + + + + + + ``` + +### AdvancedEntry +- `IsRequired` is removed +- `IsValidated` is renamed to IsValid +- `Annotation` is removed +- `ValidationMessage` is removed +- `IsAnnotated` is removed +- `AnnotationColor` is renamed as ValidationColor +- `UpdateKeyboard()` method is removed +- `MinLength` is removed. +- `RegexPattern` is removed. +- `IgnoreValidationMessage` +- `ValidationChanged` event is removed. +- `Clicked` event is removed. +- `Nullable` is removed + +Visit [Validations documentation](../components/controls/FormView.md#validations) for new usage information.. \ No newline at end of file