Duplicate property array of models in component; Ember
If I have a store inject in a component property how can I duplicate it so that I can pass it through a promise validation.
I tried duplicating with
var models = this.store;
let models= this.store;
but when I set models in the validation function it only contains the model. If I used the wrong nomenclature let me know. I started a new job in Ember and they all use data filling through components.
Aucun commentaire:
Enregistrer un commentaire