PDA

View Full Version : Checkbox broken in 1.0.1 in Kitchen sink



profunctional
11 Jan 2011, 10:30 AM
Go here to visit the kitchen sink.

http://dev.sencha.com/deploy/touch/examples/kitchensink/

And click the Forms demo.

Can anyone check the checkbox "Cool" ?

On Safari and Chrome it can't be checked. Any ideas?

thomyorke
11 Jan 2011, 10:50 AM
Noticed this too. Works fine on iOS devices though.

profunctional
11 Jan 2011, 10:57 AM
Is there a workaround to get this box checked?

dragonwize
26 Jan 2011, 8:53 AM
This is a hack/workaround but this is what I have done to make checkboxes work in the browser. I am using this on my formPanel as I am using multiple checkboxes. It can easily be changed to work directly on a the checkbox though if needed.



listeners: {
body: {
tap: function (event, el) {
if (Ext.is.Desktop) {
el.checked = el.checked ? false : true;
}
}
}
}