Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabled Button Still Working #10

Open
ghost opened this issue Aug 12, 2016 · 0 comments
Open

Disabled Button Still Working #10

ghost opened this issue Aug 12, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 12, 2016

Hi, I think there is a bug in the button options property. When I write

 'buttons' => [
                    'next' => [
                        'title' => 'Next',
                        'options' => [
                            'class' => 'btn btn-primary disabled'
                        ],
                    ],
                ],

cursor style for that button is like cursor: not-allowed;
but when it clicked, it still can move to the next step. Consider add $(".btn.disabled").off('click'); or something in the script file.
Also, for furthur development, I suggest to

  • add 'validate' property or some thing when button next or save is clicked for validate in client side before go to the next step
  • add disable click function on the tab/icon it self, because wizard suppose to do something in sequence

by the way, its good to know this extension. Help me alot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant