Hi everyone! I got into problem which there will be more than one composer opened in the same page as well. Idea is that when click in “Comentar” on topic list item, it will open this box with the composer which the user will be possible to reply to topic or in the near future a post.
So, as you can see, “I’m testing composer model for reply!” is duplicating. Possibly because both models reference to the same one!
let composerPostModel= api.container.lookup("model:composer");
In both cases, i’m getting model by container lookup. Would it be possible to duplicate the model with another reference ? Or a better way to achieve this ?
I have been searching about ‘ember-copy’, Copyable object (deprecated).
I appreciate your help with this!