Skip to content

Conversation

ht3aa
Copy link

@ht3aa ht3aa commented Dec 27, 2024

Problem

In my use case I want to update my sidebar navigation in real time when some action in my page that include HasPageSidebar trait is fired. it will not update since there is wire:ignore sets. (The items of the sidebar was dynamically generated and if I need to update it I need to refresh the page).

Solution

Adding a method in the HasPageSidebar to determine if the sidebar should listen to events or ignore them.

  • tested

Copy link

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant