jquery-smartwizard icon indicating copy to clipboard operation
jquery-smartwizard copied to clipboard

A usefull new feature

Open amauryhb opened this issue 5 years ago • 1 comments

Hi. It would be nice if you include a way to reset pages starting from an index. For example, I have four pages and I want to reset the last two pages. In my situation, if I make changes in a page, the following pages become useless. I think this can be achieved by adding the following to the source code: { key: "resetFromIndex", value: function resetFromIndex(index) { this.steps.slice(index).removeClass('done active'); } },

Sorry for my English, I speak Spanish Good luck and thank you

amauryhb avatar Sep 05 '20 01:09 amauryhb

{ key: "resetFromIndex", value: function resetFromIndex(index) { this.steps.slice(index).removeClass('done active'); } },

Great function, I was looking for something like this. This function should be implemented on the plugin.

quevon24 avatar Nov 24 '20 19:11 quevon24