Added onsubmit event to form component
This commit is contained in:
parent
ceee6123a1
commit
2fd5d89655
@ -1,5 +1,5 @@
|
||||
<div class="modal-content p-3">
|
||||
<form>
|
||||
<form (ngSubmit)="onSubmit()">
|
||||
<div class="form-group">
|
||||
<label for="Title">Titel</label>
|
||||
<input type="text" class="form-control" id="Title" required name="title" [(ngModel)]="title">
|
||||
|
Loading…
x
Reference in New Issue
Block a user