AdrianVillamayor / Wizard-JS

A lightweight wizard UI component that supports accessibility and HTML5 in JavaScript Vanilla.
https://adrianvillamayor.github.io/Wizard-JS/
MIT License
44 stars 13 forks source link

Button configuration not hide the finish button #4

Closed aalfiann closed 1 year ago

aalfiann commented 1 year ago

Describe the bug When I set configuration button to false, the prev and next button was hidden, but the finish button is not hiding.

To Reproduce Steps to reproduce the behavior:

  1. set the configuration like this
    let args = {
      "wz_class": wz_class,
      "wz_nav_style": "progress", // dots, tabs, progress
      "wz_ori" : "vertical",
      "buttons": false,
      "navigation": 'all' // buttons, nav, all
    };
  2. Done, the prev and next button is hiding, but the finish button won't hide.

Desktop :

AdrianVillamayor commented 1 year ago

Hi @aleaforny ,

Now if you add the option buttons:false, all buttons will be hidden, including Submit/Finish.

In addition, a couple of visual enhancements have been added to make the usable navigations stand out more.

You have all the changes here.

I hope I solved your problem, anything else let me know.

Thank you very much for your help 🙌🏻.