vendredi 15 décembre 2017

Cant get property of an ember object

Ember version 1.9.1

Doing this.get('wallet.bank_account_format') i get undefined.

Doing this.get('wallet') i get

__ember_meta__: Object { descs: {…}, watching: {…}, cache: {}, … }
...
bank_account_format: "bban-se"
...
__proto__: Object { … }

But the most confusing part is that if i try to do this.get('wallet.bank_account_format') over the dev tools i correctly get "bban-se".

What i'm doing wrong?




Aucun commentaire:

Enregistrer un commentaire