Skip to main content

I am having an issue with my picklist fields that I use as radiobuttons. When the field is in read-only mode they radio buttons can still be toggled/changed on the UI side which doesn’t harm anything but the user might think they are editing and cause confusion.


Is there a way to keep these locked so while in readonly mode the user cannot move the selected radio?


Jarrod,

This is bug in Skuid. I’ve already got it fixed in our dev org, and it should go out with our next patch release. Thanks for catching this for us and reporting it here on the community!


Nice! just curious, is this a CSS thing?


It’s actually a JavaScript issue. It shouldn’t be too long before that patch is available, but if you want a workaround in the meantime, try something like the following field renderer snippet on that Picklist field:


var field = argumentse0], value = argumentse1]; field.options.type = 'RADIO_BUTTONS'; field.mode = field.mode === 'readonly' ? 'read' : field.mode; skuid.ui.fieldRenderers.PICKLISTLfield.mode](field,value);<br>

Does that help?


More than helps! Thank you.


Reply