I'm trying to create a CheckBox tree but I'm having problems with my policy when passing the model.
Follow the code below:
<ul class="main-level"><li>
<mdi-input-checkbox mdi-reverse="true"
mdi-model="checked"
mdi-label="Elemento A">
</mdi-input-checkbox>
<ul class="sub-level sub-level-0"><li>
<mdi-input-checkbox mdi-reverse="true"
mdi-model="checked"
mdi-label="Elemento A1">
</mdi-input-checkbox>
<ul class="sub-level sub-level-1"><li>
<mdi-input-checkbox mdi-reverse="true"
mdi-model="checked"
mdi-label="Elemento A1a">
</mdi-input-checkbox>
<ul class="sub-level sub-level-1"><li>
<mdi-input-checkbox mdi-reverse="true"
mdi-model="checked"
mdi-label="Elemento A1a1">
</mdi-input-checkbox>
</li><li>
<mdi-input-checkbox mdi-reverse="true"
mdi-model="checked"
mdi-label="Elemento A1a2">
</mdi-input-checkbox>
</li></ul></li><li>
<mdi-input-checkbox mdi-reverse="true"
mdi-model="checked"
mdi-label="Elemento A1b">
</mdi-input-checkbox>
</li></ul></li><li>
<mdi-input-checkbox mdi-reverse="true"
mdi-model="checked"
mdi-label="Elemento A2">
</mdi-input-checkbox>
<ul class="sub-level sub-level-2"><li>
<mdi-input-checkbox mdi-reverse="true"
mdi-model="checked"
mdi-label="Elemento A2a">
</mdi-input-checkbox>
</li><li>
<mdi-input-checkbox mdi-reverse="true"
mdi-model="checked"
mdi-label="Elemento A2b">
</mdi-input-checkbox>
</li></ul></li></ul></li></ul>
If I click on one is marking all.