faulknercs / Knockstrap

Knockout bindings to twitter bootstrap 3
faulknercs.github.io/Knockstrap/
MIT License
142 stars 37 forks source link

Radio Buttons only Fire Once #60

Closed ambsw-technology closed 7 years ago

ambsw-technology commented 7 years ago

For some reason, the radio binding is only updating the first time I click any particular option. Once the option has been selected once, I'm unable to return to that value. The Boostrap UI (i.e. active class) moves around so visually it appears that the value is changing, but monitoring the observable (and I'm doing it several ways) shows that the value is not changing.

ambsw-technology commented 7 years ago

FYI I'm running:

I've tried a couple versions of jQuery as well (2.1.4 due to an unrelated dependency and forced 3.2.1 to troubleshoot)

ambsw-technology commented 7 years ago

Turns out my radio buttons weren't getting a name. Not sure why that created a problem, but it may help someone in the future who has the same issue.