From f8e90fbb977dda65f93b3ac382ea7b9414390971 Mon Sep 17 00:00:00 2001 From: Queenvictoria Date: Mon, 21 Aug 2017 17:14:27 +1000 Subject: [PATCH] Send a change action on change. --- addon/components/md-select.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addon/components/md-select.js b/addon/components/md-select.js index ac4f03d5..b623914d 100644 --- a/addon/components/md-select.js +++ b/addon/components/md-select.js @@ -60,7 +60,6 @@ export default Component.extend({ actions: { change() { - // const changeAction = this.get('action'); const selectedEl = this.$('select')[0]; const selectedIndex = selectedEl.selectedIndex; const content = this.get('content'); @@ -70,7 +69,7 @@ export default Component.extend({ Ember.run.schedule('afterRender', () => { this._rebuildSelect(); }); - // changeAction(selectedValue); + this.sendAction('on-change', selectedValue); } } });