jeudi 14 juin 2018

Can't manipulate object model in an input ember after using each-in loop

enter image description hereI created an input with pre-populated data. When I make changes to the input, i dont see the model changes like it should.

I have and object model like this below:

export default Route.extend({
  model() {
    return {
      name: 'foo',
      height: '5ft',
      address: 'bar'
    }
  }
});

In my template, I am looping over using an each-in


  <li>
    <label for=></label>
    
  </li>



// Still shows up as "Foo" even if i change it in the form input




Aucun commentaire:

Enregistrer un commentaire