Is it possible to have a dmx-bind for disabled=“true”
I repeat through form checkboxes fields and want to only readonly on some of the repeated checkboxes
Is it possible to have a dmx-bind for disabled=“true”
I repeat through form checkboxes fields and want to only readonly on some of the repeated checkboxes
Can you please explain a little more detailed what exactly are you trying to achieve?
I do not want the user to untick certain checkbox fields in the repeat, but let them keep their checked value. Something like this, but that it works:
<input class="form-check-input" type="checkbox" value="1" dmx-bind:name="record[{{$index}}][active]" dmx-bind:checked="active==1" dmx-bind:id="record[{{$index}}][active]" dmx-bind:readonly="id<6||id==11||id==15">