Merge pull request #6170 from kkarich/2.0

add clearInput functionality
This commit is contained in:
Brandy Carney
2016-05-12 17:37:58 -04:00
4 changed files with 43 additions and 0 deletions

View File

@ -102,6 +102,13 @@ export class TextInput extends InputBase {
inputFocused(event) {
this.focus.emit(event);
}
/**
* @private
*/
clearTextInput() {
this._value = '';
}
}