From 7f910d4f230bf87b0a70cf0d5f1ff6692ee0c4b6 Mon Sep 17 00:00:00 2001 From: Arman Ozak Date: Thu, 5 Nov 2020 20:44:44 +0300 Subject: [PATCH] docs: add how to disable validation on a form/field --- docs/en/UI/Angular/Form-Validation.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/en/UI/Angular/Form-Validation.md b/docs/en/UI/Angular/Form-Validation.md index 5fb1248d81..c3fa3c5321 100644 --- a/docs/en/UI/Angular/Form-Validation.md +++ b/docs/en/UI/Angular/Form-Validation.md @@ -71,6 +71,24 @@ The error message will look like this: A required field is cleared and the custom error message appears under the input. +## How to Disable Validation on a Form + +If you want to validate a form manually, you can always disable automatic validation on it. All you need to do is place `skipValidation` on the form element. + +```html +
+ +
+``` + +## How to Disable Validation on a Specific Field + +Validation works on any element or component with a `formControl` or `formControlName` directive. You can disable automatic validation on a specific field by placing `skipValidation` on the input element or component. + +```html + +``` + ## What's Next? - [Settings](./Settings.md)