Working with forms is pretty easy in Angular 2.
You just need to decide between Template-Driven and Reactive Forms and you are ready to start with some bindings and validation. The following code shows a two-way data binding with
ngModel against a property of type
<input type="text" name="name" [(ngModel)]="myName">
But there is one problem to tackle: models of type
You might wonder, because HTML5 date input controls are not working as expected: