We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10534f8 commit c8601d1Copy full SHA for c8601d1
docsApp/pages/home/home.html
@@ -1,5 +1,5 @@
1
<div layout="row">
2
- <md-tree ng-model="vm.selectedItems" restrict-selection="depth,single" flex>
+ <md-tree ng-model="vm.selectedItems" restrict-selection="depth" flex>
3
<md-branch branch-repeat="location in vm.locationData" class="md-2-line" select>
4
<div class="md-branch-text">
5
<h3>{{location.name}}</h3>
src/js/tree.js
@@ -108,6 +108,8 @@ function treeDirective($mdTheming, $mdUtil) {
108
} else {
109
deselect(hashKey);
110
}
111
+ // TODO update model without calling select on branches
112
+ refreshViewValue();
113
114
115
function deselectAll() {
0 commit comments