meteor-x-editable-bootstrap
meteor-x-editable-bootstrap copied to clipboard
data-value attribute reactive?
I have two browsers open and when I make changes to one, the template in the other reflects the change. However, the form element when engaged does not reflect the updated value...
I have the data-value set to a {{
This is complicated. See http://stackoverflow.com/q/22867690/586086.
@davidworkman9 created https://github.com/davidworkman9/meteor-editable/ for this, although I haven't tried it out myself.
As @mizzao said, I created Meteor-Editable for this very reason. X-editable was super simple pre-blaze, but now it is a lot more complicated to have it reactive. The good news with Meteor-Editable is things like select list options are now reactive as well, with x-editable and Spark you would have needed a Deps.autorun
to accomplish that. In fact everything you pass to Meteor-Editable can be reactive. New types are also super simple to add. I haven't documented it yet but if you look at the source code you'll probably get the idea. I haven't added inline mode yet, but that will be coming sooner or later. Would take a pull request for it!
Much easier implementation for 0.8.3 posted at http://stackoverflow.com/q/22867690/586086.