material-steppers icon indicating copy to clipboard operation
material-steppers copied to clipboard

No refresh after removing a step

Open maxime-aubry opened this issue 7 years ago • 2 comments

Hello. I discovered a problem with your component. I have a collection of steps with a binding on your component (<md-step ng-repeat="step in steps"...) I try to clear my collection ($scope.steps.splice(0, $scope.steps.length) but steps does not disappear :/ Coul you help me please ?

thanks :)

maxime-aubry avatar Jun 26 '17 13:06 maxime-aubry

Can you be more specific about the issue please ? Thanks

damienmartel2 avatar Jul 03 '17 05:07 damienmartel2

Hi, first of all thanks for good component :) I have same problem. Suppose we have a list of items (which may dynamically created or changed). We want to create steps dynamically by ng-repeat directive on this list. At first time stepper creates steps for each item in list. Problem 1: When we add an item to the list, stepper will create new item at the end of steps (without attention to location of new item in the list). Problem 2: If we remove one or more item from the list, stepper does not remove related step/steps.

hadimansouri avatar Jan 13 '18 13:01 hadimansouri