FIX: disabled combo-box attribute had no effect
This commit is contained in:
parent
a4a53d6500
commit
612e084595
|
@ -2,7 +2,7 @@ import { on, observes } from 'ember-addons/ember-computed-decorators';
|
||||||
|
|
||||||
export default Ember.Component.extend({
|
export default Ember.Component.extend({
|
||||||
tagName: 'select',
|
tagName: 'select',
|
||||||
attributeBindings: ['tabindex'],
|
attributeBindings: ['tabindex', 'disabled'],
|
||||||
classNames: ['combobox'],
|
classNames: ['combobox'],
|
||||||
valueAttribute: 'id',
|
valueAttribute: 'id',
|
||||||
nameProperty: 'name',
|
nameProperty: 'name',
|
||||||
|
|
|
@ -39,6 +39,9 @@
|
||||||
&.select2-container-active {
|
&.select2-container-active {
|
||||||
border-color: $tertiary;
|
border-color: $tertiary;
|
||||||
}
|
}
|
||||||
|
&.select2-container-disabled .select2-chosen {
|
||||||
|
color: blend-primary-secondary(50%);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.select2-container-multi .select2-choices {
|
.select2-container-multi .select2-choices {
|
||||||
|
|
Loading…
Reference in New Issue