Coder Social home page Coder Social logo

Add steps dynamically about md-steppers HOT 6 CLOSED

roelbarreto avatar roelbarreto commented on August 15, 2024
Add steps dynamically

from md-steppers.

Comments (6)

roelbarreto avatar roelbarreto commented on August 15, 2024

It allow it but there are some bugs that it doesn't bind events on newly created tabs will check it, thanks @alois-wever
See it here https://jsfiddle.net/ipiz/vcdbuyru/30/

from md-steppers.

ringil-21 avatar ringil-21 commented on August 15, 2024

Thanks @ipiz for your quick response and example. It was very helpful! Have it already up and running in my app.
Hope you can easily fix the bugs.
Cheers

from md-steppers.

venkataramanareddy avatar venkataramanareddy commented on August 15, 2024

Is it possible to add the step in middle of existing steps. The numbers are not getting changed in the progress bar with the above example.
When we disable the step, still it will be shown in the progress bar. How can we hide the particular step in progress bar based on condition?

from md-steppers.

roelbarreto avatar roelbarreto commented on August 15, 2024

Unfortunately it still doesn't support dynamically inserting steps. As my review it is not documented on Material Steppers. Better to have optional steps that is already there or use enable disable steps on applicable situation.
Hope this will be helpfull

from md-steppers.

venkataramanareddy avatar venkataramanareddy commented on August 15, 2024

Thanks for your response @ipiz.

from md-steppers.

depyronick avatar depyronick commented on August 15, 2024

@venkataramanareddy well simply change 'stepindex="{{::$index+1}}" ' with 'stepindex="{{step.getIndex()+1}}" ' and handle showing tab by using ng-if

from md-steppers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.