spec-framework / spec

The code of Spec for Pharo
MIT License
16 stars 6 forks source link

No way to prevent radio button from desactivating #19

Closed webwarrior-ws closed 9 years ago

webwarrior-ws commented 9 years ago

Clicking again on activated radio button in radio button group will make all radio buttons inactive. Which is not the way radio buttons work - they are supposed to represent exactly one choice (sometimes initial state is no choice, but it cannot be restored after user interaction). Moreover, usage of reactive variables for RadioButtonModel state means there's no way to intercept desactivation and cancel it.

BenjaminVanRyseghem commented 9 years ago

That's true :)

I will have a look by tonight ;)

BenjaminVanRyseghem commented 9 years ago

Could you have a look a the https://github.com/spec-framework/spec/pull/21?