arranbartish/angular-cli-widgets

View on GitHub
projects/angular-cli-widgets-components/src/lib/search-form/search-form.component.html

Summary

Maintainability
Test Coverage
<div class="row">
  <b>Search for stuff</b>
  <form [formGroup]="searchForm" (ngSubmit)="search()">
    <div class="col-md-10">
      <input formControlName="terms" [(ngModel)]="terms" type="text" placeholder="Separate search terms by ," />
    </div>
    <div class="col-md-2">
      <button type="submit">Search</button>
    </div>
  </form>
</div>