FIX: Combobox not working with fixed element on iPad

This commit is contained in:
Robin Ward 2015-11-11 14:44:03 -05:00
parent 393a05ed9e
commit ec02b147b0

View File

@ -72,7 +72,8 @@ export default Ember.Component.extend({
} }
const $elem = this.$(); const $elem = this.$();
$elem.select2({formatResult: this.comboTemplate, minimumResultsForSearch: 5, width: 'resolve'}); const minimumResultsForSearch = this.capabilities.touch ? -1 : 5;
$elem.select2({formatResult: this.comboTemplate, minimumResultsForSearch, width: 'resolve'});
const castInteger = this.get('castInteger'); const castInteger = this.get('castInteger');
const self = this; const self = this;