fe-validate

0.0.5 • Public • Published

# F.E.Mock fe-validate

Dependencies

  • Angular >=4.0.0

Install

You can get it on npm.

npm install fe-validate --save

Usage

app.module.ts:

import { FormValidationModule, CUSTOM_ERROR_MESSAGES } from 'fe-validate';
import { customErrorMessages } from '../validate.message'; // Custom message
 
@NgModule({
    declarations: [
        AppComponent
    ],
    imports: [
        ...
        FormValidationModule.forRoot()
    ],
    providers: [
        { provide: CUSTOM_ERROR_MESSAGES, useValue: customErrorMessages }
    ],
    bootstrap: [AppComponent]
})
export class AppModule {}

Package Sidebar

Install

npm i fe-validate

Weekly Downloads

0

Version

0.0.5

License

MIT

Last publish

Collaborators

  • itwang