solodynamo / ng2-search-filter

Angular 2 / Angular 4 / Angular 5 custom pipe npm module to make a search filter on any input, 🔥 1Million+ downloads
https://www.npmjs.com/package/ng2-search-filter
MIT License
149 stars 40 forks source link

problems with ng build --prod #65

Closed oearias closed 4 years ago

oearias commented 4 years ago

when i try to run the command ng build --prod

the terminal shows messages like Property 'SearchText' doesn't exist on Type Component...

this is my html <input [(ngModel)]="searchText">

<tr *ngFor="let equipo of equipos | filter: searchText | paginate: { itemsPerPage:7, currentPage: p}; let i = index">

...

oearias commented 4 years ago

sorry, i had not declared searchText in Component.