Skip to main content

Validation

Usage

Use validators property to enable validation.

Loading...
LIVE DEMO

Built-in validator rules

List of Built-in validator rules supported:

  • required?: string;
  • min?: [number, string];
  • max?: [number, string];
  • minLength?: [number, string];
  • maxLength?: [number, string];
  • pattern?: [RegExp, string];
  • arrayNotEmpty?: string;
  • equalTo?: [string, string];