Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newly created objects gets duplicated in Getting Started #32

Open
aaronkeck opened this issue Jun 28, 2016 · 2 comments
Open

Newly created objects gets duplicated in Getting Started #32

aaronkeck opened this issue Jun 28, 2016 · 2 comments

Comments

@aaronkeck
Copy link
Contributor

The sample code provided in Section 2.5 (Getting Started -> Adding new items) suffers from the bug mentioned in the Marionette Repo #640.

Specifically, when using the code provided to add a new item to the list, two items are added. Once in the itemAdded code, and again when rendering.

@scott-w
Copy link
Member

scott-w commented Jul 13, 2016

Hi @aaronkeck, are you referring to this line:

  modelEvents: {
    change: 'render'
  },

@mgoldwater-nisum-com
Copy link

I'm facing the same problem. @scott-w It is due to that line that you mentioned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants