Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion KO 2.1.0 Release Candidate 2

Received: by 10.68.236.170 with SMTP id uv10mr10089574pbc.4.1335557132904;
        Fri, 27 Apr 2012 13:05:32 -0700 (PDT)
X-BeenThere: knockoutjs@googlegroups.com
Received: by 10.68.203.129 with SMTP id kq1ls179108pbc.3.gmail; Fri, 27 Apr
 2012 13:05:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.132.35 with SMTP id or3mr157204pbb.14.1335557131762; Fri,
 27 Apr 2012 13:05:31 -0700 (PDT)
Authentication-Results: ls.google.com; spf=pass (google.com: domain of
 mb...@dasya.com designates internal as permitted sender)
 smtp.mail=mb...@dasya.com; dkim=pass
 header...@dasya.com
Received: by ot8g2000pbb.googlegroups.com with HTTP; Fri, 27 Apr 2012 13:05:31
 -0700 (PDT)
Date: Fri, 27 Apr 2012 13:05:31 -0700 (PDT)
In-Reply-To: <37e71092-ce3f-4a70-afc6-6181c643e809@m16g2000yqc.googlegroups.com>
References: <7526904.2741.1335345959127.JavaMail.geo-discussion-forums@yniw15> <37e71092-ce3f-4a70-afc6-6181c643e809@m16g2000yqc.googlegroups.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19
 (KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535.19,gzip(gfe)
Message-ID: <fe266c76-a239-4ea9-95dd-d04b5419062b@ot8g2000pbb.googlegroups.com>
Subject: Re: KO 2.1.0 Release Candidate 2
From: Michael Best <mb...@dasya.com>
To: KnockoutJS <knockoutjs@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

You should not use the *value* binding with checkbox or radio
controls. To set the value attribute, use the *attr* binding.

Here is your example, fixed:

http://jsfiddle.net/mbest/DFJ74/1/

-- Michael

On Apr 27, 8:40=A0am, Timothy Farrell <explori...@gmail.com> wrote:
> I think I found a bug. =A0I'm not sure if it's a Chrome/Safari/IE bug or
> a Knockout bug, but it's annoying. =A0Basically using $index in
> conjunction with radio buttons requires that the user has to click
> twice. =A0Here's an example of what I mean:http://jsfiddle.net/explorigin=
/DFJ74/
>
> The same thing without using $index :http://jsfiddle.net/explorigin/XTcXG=
/
>
> Tested in Chrome, Safari, IE9 (which exhibit the two-necessary clicks)
> and Firefox (which works as expected).
>
> Thanks,
> -tim