fix(search-bar): set isFocused to false and remove shouldLeftAlign for custom function

references #247
This commit is contained in:
Brandy Carney
2015-10-06 19:03:50 -04:00
parent 4c18aec23d
commit 994fdc7084

View File

@@ -28,6 +28,9 @@ import {IonicComponent, IonicView} from '../../config/decorators';
'placeholder': 'Search',
'cancelAction': function() {
console.log('Default Cancel');
this.isFocused = false;
this.shouldLeftAlign = this.value.trim() != '';
// TODO input blur
}
}
})