VinceG / twitter-bootstrap-wizard

This twitter bootstrap plugin builds a wizard out of a formatter tabbable structure. It allows to build a wizard functionality using buttons to go through the different wizard steps and using events allows to hook into each step individually.
MIT License
1.39k stars 676 forks source link

Disabling a step still allows it to be clickable #105

Closed angelxmoreno closed 9 years ago

angelxmoreno commented 10 years ago

Using the demo, Disabling/Enabling/Showing/Hiding/Removing Steps http://vadimg.com/twitter-bootstrap-wizard-example/examples/remove-step.html even when I disable a step it can still be clickable allowing the end user to jump steps. Not sure if this is intended but I would like to lock the user to a step and manually enable the next step. How can I do this?

VinceG commented 10 years ago

@angelxmoreno that demo doesn't actually disable the click on step, it shows how to do that programmatically. see this example on how to disable clicking on a step item.

http://vadimg.com/twitter-bootstrap-wizard-example/examples/basic-disabletabclick.html

angelxmoreno commented 9 years ago

i will console.log() tab, navigation, index to see if the parameters i need are made available. thanks!