Hi,
Here is a code showing the issue in showcase:
I expect "LIST" button to be selected by default, but none of the buttons is selected.
If I remove "listingStyle" radioGroup, button is created selected (though radio action is not working obviously)
If I call select() after creation, the button is selected and works correctly afterwards.
Best regards,
Janusz
Here is a code showing the issue in showcase:
Code:
isc.Button.create({
ID: "listingStyleButtonList",
title: 'LIST',
actionType: "radio",
radioGroup: "listingStyle",
selected: true,
left: 0,
});
isc.Button.create({
ID: "listingStyleButtonTiles",
title: 'TILES',
actionType: "radio",
radioGroup: "listingStyle",
selected: false,
left: 150
});
If I remove "listingStyle" radioGroup, button is created selected (though radio action is not working obviously)
If I call select() after creation, the button is selected and works correctly afterwards.
Best regards,
Janusz
Comment