Skip to content

Is it possible to display different entities depending on the request? #11

Answered by awcodes
Julien-degardin asked this question in Q&A
Discussion options

You must be logged in to vote

Where are you using the conditional?

That's tricky since widgets are Livewire components and they can't be instantiated. Meaning they can't be dynamically registered with options. You could probably create your own Widget that extends the Overlook widget and manually set the resources there. Then you could register the right widget in the context you need it it.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Julien-degardin
Comment options

@awcodes
Comment options

@Julien-degardin
Comment options

Answer selected by Julien-degardin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants