- import
FormsModule
- create form with input and submit-type button
- in
<form>
- create
#f
template variable and assignngForm
to it - add
(ngSubmit)
output, usef.value
as handler's parameter
- create
- in
<input>
tag:- add
name
attribute - add
ngModel
attribute
- add
Last active
September 5, 2020 17:41
-
-
Save romach/cdefcbfd300b6cc3c07b2943d3ecc2e5 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment