wireui / wireui

TallStack UI components
https://v1.wireui.dev
MIT License
1.36k stars 169 forks source link

Wireui components collide with anonymous breeze components #626

Closed bcbud closed 10 months ago

bcbud commented 1 year ago

Describe the bug Breeze components have overlapping names as wireui components. Anonymous components load after wireui components. Causes breeze forms to stop working in default blade templates - labels disappear and submit buttons no longer fire.

Expected behavior Anonymous components would override wireui (or be configurable ordering).

Solution Publish the config/wireui.php file and prefix all aliases with a unique identifier (I just added wireui-* to all aliases and ).

(feel free to close, but just wanted to leave it here to help save the time of anyone trying to debug why their breeze auth scaffolding stopped working after installing wireui)

Aaron1178 commented 12 months ago

@bcbud Thanks for this post, I just ran into the exact same issue. +1

aaronjonesxyz commented 11 months ago

I think this is what caused my Breeze profile dropdown to stop working, WireUI <x-dropdown> overrides the Blade version. I've changed the aliases but it's still using the WireUI version, is there anything I need to do to load the new config?

joaopalopes24 commented 10 months ago

Good morning. This isn't a bug, just a component conflitct. You can change the component alias in wireui config and clean the cache, or you can use the WireUi Components in Breeze, which is what I usually do.