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
I haven’t had a lot of time to debug this issue, but from a quick look through the stack trace, I noticed that can-bind sets up the binding for on:input:value:to and then syncs the values; since that’s technically a one-way child-to-parent binding, it sets the parent to the child’s value. In previous versions of can-stache-bindings, I’m not sure if we skipped that initialization process, or if can-stache-bindings handled it some other way.
The text was updated successfully, but these errors were encountered:
In CanJS 4.2, if a textarea was bound in a component like this:
…the textarea would show
From VM
as its value. Here’s a demo: https://jsbin.com/rotisapaxi/1/edit?html,js,outputIn CanJS 4.3+, the
prop
gets changed toFrom view
; demo here: https://jsbin.com/quseciqawo/1/edit?html,js,outputI haven’t had a lot of time to debug this issue, but from a quick look through the stack trace, I noticed that can-bind sets up the binding for
on:input:value:to
and then syncs the values; since that’s technically a one-way child-to-parent binding, it sets the parent to the child’s value. In previous versions of can-stache-bindings, I’m not sure if we skipped that initialization process, or if can-stache-bindings handled it some other way.The text was updated successfully, but these errors were encountered: