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

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

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