https://github.com/robertxluo/angular-forms-demo
Angular demo for template driven forms and reactive forms
https://github.com/robertxluo/angular-forms-demo
angular angular-forms bulma
Last synced: 4 months ago
JSON representation
Angular demo for template driven forms and reactive forms
- Host: GitHub
- URL: https://github.com/robertxluo/angular-forms-demo
- Owner: robertxluo
- Created: 2019-07-31T11:33:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T08:17:28.000Z (almost 3 years ago)
- Last Synced: 2025-05-14T10:34:30.201Z (7 months ago)
- Topics: angular, angular-forms, bulma
- Language: HTML
- Size: 2.7 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Angular Forms
Angular has two ways to implement forms, template-driven forms and reactive forms. This application showcases both of these forms for learning purposes.
## [View demo](https://angular-forms.netlify.com)
## Template-driven Forms
- Easy to use
- Two-way data binding
- Minimal component code
- Automatically tracks form and input element state
## Reactive Forms
- More flexible
- More complex scenarios
- Immutable data model
- Easier to perform an action on a value change
- Reactive transformations
- DebounceTime
- DistinctUntilChanged
- Easily add input elements dynamically
- Easier unit testing