Found a bug in version 3.3.0 on the checked property of radio input type

43 views
Skip to first unread message

Joe Dean

unread,
May 22, 2015, 2:21:17 PM5/22/15
to knock...@googlegroups.com
This snippet does not work in version 3.3.0. The radio button is always unchecked.

<input type="radio"  value="1" data-bind="checked: true" />

But does work in 2.2.0

Joe Dean

unread,
May 22, 2015, 2:25:56 PM5/22/15
to knock...@googlegroups.com
It does work for input type checkbox in 3.3.0 btw

Michael Best

unread,
May 22, 2015, 9:57:31 PM5/22/15
to knock...@googlegroups.com
In 3.0.0, the logic was changed to require strict equality for radio buttons. So you'd need to use checked: '1' for this to work.


-- Michael
Reply all
Reply to author
Forward
0 new messages