Not a bug, if you are passing in your own input signal to widgets, you need to take care of maintaining the right initial values. It's also better to use OrderedDict from DataStructures package here to keep the ordering of the key-value pairs.
On Tue, Mar 24, 2015 at 7:39 PM, Andrei Berceanu <[email protected]> wrote: > Consider the following code > > > > > > > *using Reactive, Interactα = Input(0)togglebuttons(["one" => 1, "two" => > 2], signal=α)signal(α)*I would expect the value of *α *to change after > executing the *togglebuttons*(..) line, however this is not the case. > *signal(α) *on the next line shows that *α *is still 0, even though one > of the buttons is pre-selected. One has to press the buttons at least once > to change the value of *α*. > Can this behaviour be changed? Is it a bug? >
