radio button :setState() failing - always sets state to true

Using daily builds 2407, 2460 or 2506 radio buttons setState() fails, by always setting the value to true.

If I go back to v2259 they work, except… I can no longer build using that version because it doesn’t recognise my valid profiles (they are greyed out in the dropdown box, presumably because they are relatively new and geared for v8 of ios, unlike older versions of corona which are for v7).

What to do? This has completely killed my apps. I can’t build using a working version, and no new builds don’t have the bug. I checked out the github of widgets, but it is so old that I couldn’t risk using it because of all the bugs that have been found and fixed since then.

Ideas? Am I really the only one seeing this problem?

FWIW here is the code:

event.target.option:setState( { isOn = true } )

followed later by (which basically sets all the other radio buttons to false - and no they are not all in the same group so yes I have to do it manually).

for i = 1, #items do     if valuesMatch( items[i].value, id ) == false then items[i].group.option:setState( { isOn = false } ) end

If I later do a test for the .isOn property, it clearly has set these to true.

Can you test with 2393a?  You will have to download this from the public download page, not from the daily builds and see if it’s an issue there?

Thanks

Rob

v2939a displays the same error.

Oh well, time to write my own radio button code. I think that’ll leave me using no standard widgets apart from the spinner… :confused:

Hey guys,

There’s a fix coming for this in the upcoming daily build ( 2507 or after ).

Thanks,

alex

Can you test with 2393a?  You will have to download this from the public download page, not from the daily builds and see if it’s an issue there?

Thanks

Rob

v2939a displays the same error.

Oh well, time to write my own radio button code. I think that’ll leave me using no standard widgets apart from the spinner… :confused:

Hey guys,

There’s a fix coming for this in the upcoming daily build ( 2507 or after ).

Thanks,

alex