I’ve got an Ember.TextField in my view. I would like the field to focus when a certain property in the app changes. I have learned how to bind callbacks to the focus event but is there any way to initiate the focus of a field based on a binding?
I’ve got an Ember.TextField in my view. I would like the field to focus
Share
Simple fiddle that I think does what you’re asking.
http://jsfiddle.net/algesten/MGfAd/1/
Code for completeness:
HTML: