Closed technomage closed 7 years ago
A recent change in Ember.get no longer allows am empty string to return the whole object. This impacts the use of labelPath and valuePath for options.
Making the same changes to these as for groupPath resolves the issue:
var selection = this.selectionAsArray().map(function(item) { return valuePath ? Ember.get(item, valuePath) : item; }); var searchMatcher = this.makeSearchMatcher(); var result = _compact(Ember.makeArray(this.get('content')) .map(function(item, index) { const label = labelPath ? Ember.get(item, labelPath) : item; const value = valuePath ? Ember.get(item, valuePath) : item;
A recent change in Ember.get no longer allows am empty string to return the whole object. This impacts the use of labelPath and valuePath for options.
Making the same changes to these as for groupPath resolves the issue: