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

adding the ability to override wire:ignore so that if my sidebar is d… #46

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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

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