UX: select on blur if there are no choices for select2
This commit is contained in:
parent
930937cfd5
commit
eed8ddbb5c
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ export default Ember.Component.extend({
|
||||||
tokenSeparators: ["|"],
|
tokenSeparators: ["|"],
|
||||||
tags : this.get("choices") || [],
|
tags : this.get("choices") || [],
|
||||||
width: 'off',
|
width: 'off',
|
||||||
dropdownCss: this.get("choices") ? {} : {display: 'none'}
|
dropdownCss: this.get("choices") ? {} : {display: 'none'},
|
||||||
|
selectOnBlur: this.get("choices") ? false : true
|
||||||
};
|
};
|
||||||
|
|
||||||
var settingName = this.get('settingName');
|
var settingName = this.get('settingName');
|
||||||
|
|
Reference in a new issue