Knowledge Transfer

Sunday, November 12, 2017

new Angular 5 forms functionality.



Angular 5 is out and many improvements have been made to the framework. 

In our latest video tutorial we've put special focus on the new Angular 5 forms functionality.

To improve performance, you can now specify when validation and update of values should be done.

Every time a FormControl value is changed, the validation will be performed accordingly. In the case of more complex validations, this can lead to a a noticeably worse performance.

With the new updateOn option, Angular 5 allows you to specify more precisely when this validation should be performed. You can select change, which specifies the previous behavior, submit or blur.

Learn how to work with updateOn options in both template-driven and reactive forms now:


Thanks,
Bhaskar

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]



<< Home