Skip to content

Commit

Permalink
fix(slider): emit change event after updating value accessor (#1901)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalerba authored and kara committed Nov 17, 2016
1 parent da5febc commit 8caf9a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/slider/slider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,9 @@ export class MdSlider implements ControlValueAccessor {
let event = new MdSliderChange();
event.source = this;
event.value = this.value;
this.change.emit(event);
this._controlValueAccessorChangeFn(this.value);
this._lastEmittedValue = this.value;
this._controlValueAccessorChangeFn(this.value);
this.change.emit(event);
}
}

Expand Down

0 comments on commit 8caf9a6

Please sign in to comment.