Created
April 21, 2022 09:29
-
-
Save lorenzojkrl/19d186b7da2e3a55d5e721c5a05c2128 to your computer and use it in GitHub Desktop.
Generic form element in Angular template driven forms
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<label for="email">Email</label> | |
<input | |
type="email" | |
id="email" | |
name="email" | |
[(ngModel)]="email" | |
/> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment