Skip to content

Instantly share code, notes, and snippets.

@afifalfiano
Created July 25, 2020 07:42
Show Gist options
  • Save afifalfiano/def36943a44d51a05f3103bc770a8573 to your computer and use it in GitHub Desktop.
Save afifalfiano/def36943a44d51a05f3103bc770a8573 to your computer and use it in GitHub Desktop.
Before configuration reactive form
<div class="container">
<div class="row">
<div class="col-xs-12 mx-auto">
<h1 class="display-4 text-center">Reactive Form Angular</h1>
<form>
<div class="form-group">
<label for="nama">Nama</label>
<input type="text" class="form-control" id="nama">
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="text" class="form-control" id="email">
</div>
<div class="form-group">
<label for="telepon">Telepon</label>
<input type="text" class="form-control" id="telepon">
</div>
<div class="form-group">
<label for="email">Keterangan</label>
<textarea name="keterangan" id="keterangan" class="form-control" rows="3"></textarea>
</div>
<button type="submit" class="btn btn-success" >Simpan</button> &nbsp;
<button type="button" class="btn btn-danger">Reset</button>
</form>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment