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

Improve optional settings

Open hadimansouri opened this issue 7 years ago • 0 comments

To set an step as optional we have to add md-optional="any text" to the step directive. It make difficult making steps dynamically. I suggest to define optional steps as follow:

<md-step md-optional="{expression}" md-optional-text="Optional">

By this pattern we could dynamically define steps as optional. If expression is true step is optional and text could be show for it.

hadimansouri avatar Jan 13 '18 13:01 hadimansouri