Hi. I'm having trouble with assigning a value to a disabled checkbox. The HTML is as follows:
<oj-checkboxset id="checkboxSetId"
aria-label="Checkbox"
value="[[selected == 'Y' ? ['agree'] : []]]">
<oj-option id="agreeopt" value="agree" label="agree">
</oj-option>
</oj-checkboxset>
The 'selected' value is set to 'Y' as a result of an AJAX call. Without disabling the checkbox, it is correctly checked.
The Jet 3.2 equivalent of the code above led to the box being checked and disabled so the value couldn't be changed.
However, in Jet 4 the box is never checked when the disabled="true" attribute is provided on either the oj-checkboxset or oj-option.
Is this intentional? Do I now need to disable the checkbox after load in the JS?
Thanks.