4,500
edits
Line 14: | Line 14: | ||
<h2 class="ui header">Demo Form: Sku</h2> | <h2 class="ui header">Demo Form: Sku</h2> | ||
<form #f="ngForm" | <form #f="ngForm" | ||
(ngSubmit)="onSubmit(f.value)" // when I submit the form, call onSubmit on my component instance, passing the value of the form as the arguments." | (ngSubmit)="onSubmit(f.value)" // when I submit the form, call onSubmit on my component instance, | ||
// passing the value of the form as the arguments." | |||
classd="ui form"> | classd="ui form"> | ||
<div class="field"> | <div class="field"> |