Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ankitsharma-007/angular-forms-validation
- Owner: AnkitSharma-007
- License: mit
- Created: 2019-12-11T17:13:01.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-02T08:31:16.000Z (almost 2 years ago)
- Last Synced: 2024-11-02T03:42:12.337Z (3 months ago)
- Topics: angular, angular-forms, ankit-sharma, article, custom-directive, custom-validation, form-validation, forms, reactive-forms, template-driven-forms, typescript
- Language: TypeScript
- Homepage: https://ng-forms-validation.web.app/
- Size: 3.56 MB
- Stars: 31
- Watchers: 4
- Forks: 51
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.