I am trying to change a text to a text box. If a user clicks the text, it will change to a test box and so they can edit the content. I have done that. I am able to set the focus by below code.
{{input value=animal.name autofocus=true}}
Run Code Online (Sandbox Code Playgroud)
It only works for the first time. If I focus-out, the text box will again change to text content. If I click the text again, I am able to see the text …
ember.js ×1