Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

ngx-validation

0.0.4-test • Public • Published

ngx-validation

Build Status Coverage Status MIT licensed

Angular2 + form validators

ngx-validation is made by ReactiveCore for common form validation:

  • email validation
  • file upload type validation
  • sql query validation
  • equals validation

Installation

Install ngx-validation from npm:

npm install ngx-validation --save

Setup

Set up in your project like this

 import{ NgValidationModule } from 'ngx-validation'
 @NgModule({
   imports:[
   // ...
    NgValidationModule,
   // ...
   ]
 })

Examples

Email Validation

  <input type="email" validateEmail>

File Upload Validation

  <input type="file" [fileType]="['docx','png']">

Install

npm i ngx-validation

DownloadsWeekly Downloads

166

Version

0.0.4-test

License

MIT

Unpacked Size

29.6 kB

Total Files

27

Last publish

Collaborators

  • avatar