Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ankitsharma-007/angular-forms-validation

Custom validations for Reactive and Template-driven forms in Angular.
https://github.com/ankitsharma-007/angular-forms-validation

angular angular-forms ankit-sharma article custom-directive custom-validation form-validation forms reactive-forms template-driven-forms typescript

Last synced: 2 months ago
JSON representation

Custom validations for Reactive and Template-driven forms in Angular.

Awesome Lists containing this project

README

        

# AngularFormsValidation

This project explains about validations in Reactive and Template-driven forms in Angular. We will learn about the inbuilt as well as custom validations.

# Article

Read the articles at my blog
- [Reactive Form Validation in Angular](https://ankitsharmablogs.com/reactive-form-validation-in-angular/)
- [Template-Driven Form Validation In Angular](https://ankitsharmablogs.com/template-driven-form-validation-in-angular/)

# Live Demo

This app is hosted on Heroku. See the app in action at https://ng-forms-validation.web.app/

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.