{"action":"created","issue":{"url":"https://api.github.com/repos/nate-strauser/meteor-x-editable-bootstrap/issues/23","labels_url":"https://api.github.com/repos/nate-strauser/meteor-x-editable-bootstrap/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/nate-strauser/meteor-x-editable-bootstrap/issues/23/comments","events_url":"https://api.github.com/repos/nate-strauser/meteor-x-editable-bootstrap/issues/23/events","html_url":"https://github.com/nate-strauser/meteor-x-editable-bootstrap/issues/23","id":42917965,"number":23,"title":"Edited/updated values getting double-populated on DOM/template after editing.","user":{"login":"evolross","id":7980725,"avatar_url":"https://avatars.githubusercontent.com/u/7980725?v=3","gravatar_id":"","url":"https://api.github.com/users/evolross","html_url":"https://github.com/evolross","followers_url":"https://api.github.com/users/evolross/followers","following_url":"https://api.github.com/users/evolross/following{/other_user}","gists_url":"https://api.github.com/users/evolross/gists{/gist_id}","starred_url":"https://api.github.com/users/evolross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evolross/subscriptions","organizations_url":"https://api.github.com/users/evolross/orgs","repos_url":"https://api.github.com/users/evolross/repos","events_url":"https://api.github.com/users/evolross/events{/privacy}","received_events_url":"https://api.github.com/users/evolross/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-09-16T18:46:32Z","updated_at":"2015-02-02T15:14:48Z","closed_at":null,"body":"I've noticed that for an example editable text field, if I edit the value and in the <code>success</code> attribute I do a Meteor collection update with the <code>newValue</code> the value gets double populated into the Meteor template.  For example, if have a <code>documentTitle</code> field set to <b>Noodle Recipe</b> and I update its value to <b>Spicy Noodle Reciple</b> after the update the Meteor template will show <b>Spicy Noodle RecipeSpicy Noodle Recipe</b>.  I assume this is because x-editable and Meteor are both updating the DOM behind the scenes.  x-editable does it after a successful edit and Meteor does it once it sees the value update in Mongo.  To fix this I had to add <code>data-display=\"false\"</code> to all my x-editable fields to disable x-editable's updating.\r\n\r\nIt might be good if this was built in and/or at least mentioned in the docs."},"comment":{"url":"https://api.github.com/repos/nate-strauser/meteor-x-editable-bootstrap/issues/comments/72473422","html_url":"https://github.com/nate-strauser/meteor-x-editable-bootstrap/issues/23#issuecomment-72473422","issue_url":"https://api.github.com/repos/nate-strauser/meteor-x-editable-bootstrap/issues/23","id":72473422,"user":{"login":"bryankennedy","id":236741,"avatar_url":"https://avatars.githubusercontent.com/u/236741?v=3","gravatar_id":"","url":"https://api.github.com/users/bryankennedy","html_url":"https://github.com/bryankennedy","followers_url":"https://api.github.com/users/bryankennedy/followers","following_url":"https://api.github.com/users/bryankennedy/following{/other_user}","gists_url":"https://api.github.com/users/bryankennedy/gists{/gist_id}","starred_url":"https://api.github.com/users/bryankennedy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryankennedy/subscriptions","organizations_url":"https://api.github.com/users/bryankennedy/orgs","repos_url":"https://api.github.com/users/bryankennedy/repos","events_url":"https://api.github.com/users/bryankennedy/events{/privacy}","received_events_url":"https://api.github.com/users/bryankennedy/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T15:14:48Z","updated_at":"2015-02-02T15:14:48Z","body":"I am seeing this same behavior, but can confirm that the data-display=\"false\" fixes it."}}