You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This Fiddle: http://jsfiddle.net/vivoices/CGPfA/
shows how LiveBinding receives text from an input element and then updates the element resulting in the cursor jumping to the end of the text.
Would it be possible to include an optional flag in the LiveBinding smart-tag, that, if set to true, prevents the template to update an element's value only in the case that the data change came from the same element?
The text was updated successfully, but these errors were encountered:
In my current project I made Control for two way bindings. It is little bit more complicated.
It supports can.Observe or can.compute https://gist.github.com/schovi/5374759
If you wish i have LiveChecked Control for supports checkbox and radio
justinbmeyer
changed the title
LiveBinding Loopback
Live binding does not maintain the cursor position.
Feb 11, 2015
Issue #356 when updating an input the cursor jumps to the end of the field. The problem is the input value is being set on each event. This fix prevents the value from being set if it equals the incoming value. Fixes#356
This Fiddle:
http://jsfiddle.net/vivoices/CGPfA/
shows how LiveBinding receives text from an input element and then updates the element resulting in the cursor jumping to the end of the text.
Would it be possible to include an optional flag in the LiveBinding smart-tag, that, if set to true, prevents the template to update an element's value only in the case that the data change came from the same element?
The text was updated successfully, but these errors were encountered: