Reactive forms, model driven, etc. (Angular 2/4)

-1

I have implemented reactive or model driven forms as they usually call them in my Angular 4 project ... I do not know if the concepts I have misunderstood, if someone corrects me ... My question is: Why do I change the type of the input to date, time, number or any other text does not work properly this type of forms?

    
asked by Jesus Tejada 08.06.2017 в 13:16
source

1 answer

1

Good, no code or demos is very difficult to answer, because if it does not work is because you have some error, it should work with different types.

There are two types of forms in Angular, reactive forms and template-model driven form , one is reactive and controlled from the code:

  

link

While the other is more focused on putting the validation rules in the html:

  

link

    
answered by 09.06.2017 в 16:15