December 2017
Intermediate to advanced
282 pages
5h 54m
English
Create an ojCheckboxset component using the ojComponent binding with an ID. To review the value of the checkbox element, create an HTML label with the for attribute referring to the value of the ID from ojCheckboxset. Populate the value from the model layer.
The checkbox component is available in two modes, single select and multi select.
The following is the example for both single and multi checkbox set components:
<form id="formId" class="oj-form"> <label id="applyChanges">Apply Changes? </label> <div id="checkboxSetApplyChanges" aria-labelledby = "applyChanges" data-bind="ojComponent: { component: 'ojCheckboxset', value: applyChg, required:true}" > <!-- oj-choice-item is required for the component to work --> <span ...Read now
Unlock full access