From 46b4fc351b108968c97d3b899d696279f97f9be5 Mon Sep 17 00:00:00 2001 From: ibarrick Date: Thu, 6 Oct 2016 05:27:20 -0400 Subject: [PATCH] Fixed problem with paper-select-options in Ember 2.7+ (#510) fixed issue with ember 2.7+ select-options --- addon/components/paper-select-options.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addon/components/paper-select-options.js b/addon/components/paper-select-options.js index 730ce8776..4ed37f9e3 100644 --- a/addon/components/paper-select-options.js +++ b/addon/components/paper-select-options.js @@ -6,12 +6,13 @@ const { $ } = Ember; export default PowerOptions.extend({ tagName: 'md-content', init() { - this._super(...arguments); if (this.get('role') === 'group') { this.set('tagName', ''); + this.set('attributeBindings', undefined); } else if (this.get('searchEnabled')) { this.set('tagName', 'md-optgroup'); } + this._super(...arguments); }, didInsertElement() { if (this.get('role') === 'group') {