I have been trying to find a way to PRE-SELECT an existing option in the Ember Select. I thought it would happen by itself if the valuebinding/selectionbinding is set to the model column.
In order to get a better idea, there is a JSBIN from an existing post in Ember forum which I’d like to refer clearly shows the issue…
If you change the values of the variable to which the dropdown’s are bound using different methods, the dropdowns do not preselect the option. All dropdowns are showing the first option selected. I have managed to get an Ember.Select working purely based on a hash but when I cant get this working in anyway. I feel if someone can explain why this is the case and how to change the code to get it working. (Do I need to use VIEW in this and if yes then how please?).
Thanks in advance…