SteveSanderson/knockout — Issue #377: There is a "problem" with selected options subscriptions
Author: NoiZy
Created: 2012-03-09 09:48:50+00:00
State: open

Hi,

there is a problem I run into, and a solution for that would be great.

Unit now it is not possible to react (subscripe) to a selected options viewmodel variable, because it is one time fired twice!
This is because change the selectbox variable will also fire the selected variable subscription what is a problem if you do something complex on the change of the selected varaible.

It is hard to descripe, so look at the jsFiddle to see what I mean:
http://jsfiddle.net/NoiZy/ytxBg/

Best regards