-
Notifications
You must be signed in to change notification settings - Fork 75
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
Custom Styles not working after update #60
Comments
I just setup this in my project, and it works fine, but I am also not able to alter anything by passing in the options. Not sure if it needs something else or if it is just broken right now. |
@jordanboston Yes, that is the issue here. Unable to use options. |
Same for me,
But the cancel button still is "Cancel". Is it a bug from last version ? |
Waiting a correction, you can do like :
|
I'm wondering if this was a bug and if there is a solid fix for it, since I have not been able to set styles the way the documentation shows to? Any news on this? |
Sorry. How do you connect styles? Today I removed this option, and now it is necessary to connect the individual import |
Like this: const alertOptions = { I just import and use the plugin, I don't have anything else that is special for style setup. Do I need to? |
Need a debug sweetalert library. Now in version v2.1.0 Vue-sweetalert2 this should work. I am again far from the computer, but thanks I need reopen issue |
Upgrade to v2.1.0 don't solves the problem. I install Vue.use(VueSweetalert2, {
buttonsStyling: false,
customClass: {
confirmButton: 'btn btn-primary',
cancelButton: 'btn btn-warning',
}
}) |
Works for me now in v2.1.1 . --Thanks @avil13 ! |
I previously used confirmButtonClass which worked before and not working after the update.
I also tried this but still not working:
What is the issue after update? am i missing something?
The text was updated successfully, but these errors were encountered: