fix(input): clear text input

* Added Type Button

To prevent the clear button to call submit function if ngSubmit is used.

* Clear Input Action.

Added a change value action to the clearTextInput function. It now actually clears input
This commit is contained in:
Pekes317
2016-04-25 08:42:22 -05:00
committed by Adam Bradley
parent 9d4ded1d31
commit bde103d2fb
2 changed files with 2 additions and 1 deletions

View File

@ -406,6 +406,7 @@ export class InputBase {
*/
clearTextInput() {
console.debug('Should clear input');
this._value = '';
}
/**