lundi 2 mars 2015

Ember view dropdown Dropdown has empty labels

When I use this model the Dropdown has empty labels. I set the label path to type. My server returns 2 models in json and I see 2 dropdown items (empty)



export default DS.Model.extend({
type: DS.attr('string')
});


{{view "select" prompt="Account type" content=model optionLabelPath="type" optionValuePath="id"}}




Aucun commentaire:

Enregistrer un commentaire