angulardart/angular_components

Material Tree single selection doesnt reflect the Selection Model State at load

indiealexh opened this issue · 0 comments

I have created a number of material trees inside a material stepper, one of these is a single select material tree.

When going back to the step in the stepper that contains the single select tree, the rendered list does not render the selected item as selected.

The multi select works fine and will properly represent the state of the model upon load of the element.

<material-stepper>
    <template step name="Select one">
        <material-tree [options]="filterableSingleOptions" [selection]="singleSelection"></material-tree>
    </template>
    <template step name="Select multiple">
        <material-tree [options]="filterableMultiOptions" [selection]="multiSelection"></material-tree>
    </template>
</material-stepper>