Default search bar

This commit is contained in:
Max Lynch
2015-06-03 20:37:40 -05:00
parent ba1c630e33
commit 4786976859

View File

@@ -38,6 +38,10 @@ export class SearchBar {
this.controlDirective = cd;
cd.valueAccessor = this; //ControlDirective should inject CheckboxControlDirective
if(!this.placeholder) {
this.placeholder = 'Search';
}
setTimeout(() => {
//console.log('Search bar for list', this.list);
this.query = '';