jeudi 28 janvier 2016

Ember 2 set select value in component

I have a little problem.

There is some component, which must render the form for editing model's record. And I need render it on listing page below each model's record.

There is a gist: http://ift.tt/1ZVHzIQ

Problem: When I open it, all fields without select-tags are filled. If render e.g. groupId or another SELECT-tag's value as label it shows right (e.g. '6'). But select-tag doesn't show selected value, and all select-tags shows only prompt.

How can I redraw or refill select-tags? Maybe I did smth wrong?




Aucun commentaire:

Enregistrer un commentaire