Create and Submit an Angular 2 Form using ngForm

Share this video with your friends

Send Tweet

Forms in Angular 2 are essentially wrappers around inputs that group the input values together into an object and also check that all the inputs are valid. Angular 2 ‘s ngForm allows you to get a reference to that object and validity and use them to display information about the form or use the ngSubmit event to save information from the form.

Joe
Joe
~ 7 years ago

It would be good to see how to manage multiple checkboxes that have a value not just produce a boolean