Closed elfeffe closed 1 year ago
Any update on this ? @PH7-Jack i have the same problem
Did you both updated to wireui to v1?
Yes. I updated to Laravel 9 and v1.0. And as soon as I refresh my page without touching anything I got this error
did you created a modified button class?
No, I don't use button components in my application, which is what attracts my attention even more. Otherwise the button show on screen should not be displayed
It's much more on pages where I have dropdown, datepicker
the dropdown uses the buttons too, if I'm not wrong. May reset the components in the config can help.
I have just started a new laravel 9 project and I don't have this error. But when you upgrade from Laravel 8 to Laravel 9 you get this error.
I have the same one who noticed the problem, doing the update to laravel 9, I was using laravel 8 but the wireui version was very old (v0.11.0). Anyone any tips? I've been stuck on this problem for two days.
Hello Guys, I'm seeing it now. The button component doesn't have the $classes variable. If did you publish the resources, publish again and update your blades If you do a package upgrade, update your published views and delete your laravel cache.
https://github.com/wireui/wireui/blob/main/resources/views/components/button.blade.php
If you think that it's is really a bug, show me more details and tag me to reopen the issue
@jcvjunior @elfeffe @mckenziearts See my answer
Describe the bug I get
Undefined variable $classes
HereTo Reproduce I just have a button as I had before, and then I upgraded to L9, and I get the error.