FIX: combo-box should assign value on initialize
This fixes the bug where admins could post to uncategorized even when it was disabled.
This commit is contained in:
parent
4152bff834
commit
bdfe91914f
|
@ -74,6 +74,7 @@ export default Ember.Component.extend({
|
||||||
}
|
}
|
||||||
self.set('value', val);
|
self.set('value', val);
|
||||||
});
|
});
|
||||||
|
$elem.trigger('change');
|
||||||
}.on('didInsertElement'),
|
}.on('didInsertElement'),
|
||||||
|
|
||||||
_destroyDropdown: function() {
|
_destroyDropdown: function() {
|
||||||
|
|
Loading…
Reference in New Issue