File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
elements/rfformradio_item Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1414 "value" : {
1515 "label" : " Value" ,
1616 "type" : " Text"
17+ },
18+ "radio_checked" : {
19+ "label" : " Checked" ,
20+ "type" : " checkbox" ,
21+ "text" : " Set as checked"
1722 }
1823 },
1924 "fieldset" : {
2429 "title" : " General" ,
2530 "fields" : [
2631 " label" ,
27- " value"
32+ " value" ,
33+ " radio_checked"
2834 ]
2935 }
36+
3037 ]
3138 }
3239 }
Original file line number Diff line number Diff line change 1- <label class="uk-flex uk-flex-middle"><input class="uk-radio rf-radio" type="radio" name="<?php echo $ element ['field_name ' ] ?> " value="<?php echo empty ($ props ['value ' ])?$ i :$ props ['value ' ] ?> " <?php echo $ element ['radio_required ' ]?"required " : "" ; ?> > <div class="uk-margin-small-left"><?php echo $ props ['label ' ] ?> </div></label>
1+ <label class="uk-flex uk-flex-middle"><input class="uk-radio rf-radio" type="radio" name="<?php echo $ element ['field_name ' ] ?> " value="<?php echo empty ($ props ['value ' ])?$ i :$ props ['value ' ] ?> " <?php echo $ element ['radio_required ' ]?"required " : "" ; ?> <?php echo $ props [ ' radio_checked ' ]? " checked " : "" ?> > <div class="uk-margin-small-left"><?php echo $ props ['label ' ] ?> </div></label>
You can’t perform that action at this time.
0 commit comments