Hi Team,
I am new to ember js, The version we are using is 1.13.x and I have been facing this problem for over a week now. I have a computed array property otherCurrencies. This property is used to populate set of checkboxes on the screen. This checkbox component is an rendered on the dom as a view and its value is toggled based on the selection of a customer in a dropdown. Now if I write the entire logic of assigning the value of otherCurrencies in the a controller using functions, it works fine. Based on customer A a set of currencies are assigned to otherCurrencies array and the corresponding checkboxes are preselected, similarly for a customer B a different set of currencies are pre selected.
But as soon as I move the logic of this assignment to a computed property, I can see that the computed property is getting called and the logic returns the right set of currency values as shown by console loggers which I used all over the code, but the DOM is not getting updated, as in the checkboxes are not getting pre-populated even when the otherCurrencies array contains the values.
I have hunted the net for days now and tried many things but none seem to work at all. I request you to kindly provide some light on this matter, need to do this if I want to continue working on ember otherwise my plug is pulled and no UI work for me. Please help…