You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have flag icons attached to countries and state models which utilize the media library. But when trying to create a simple dependent dropdown for countries and states, all I need is the name and ID. No where in my livewire component do i reference media and the related flags, yet they are being called.
How do i prevent the media library queries when they are not needed for a particular query. I don't want to add the "with('media') to get rid of n+1 errors, when i never asked for media in the first place. Thanks
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have flag icons attached to countries and state models which utilize the media library. But when trying to create a simple dependent dropdown for countries and states, all I need is the name and ID. No where in my livewire component do i reference media and the related flags, yet they are being called.
How do i prevent the media library queries when they are not needed for a particular query. I don't want to add the "with('media') to get rid of n+1 errors, when i never asked for media in the first place. Thanks
Beta Was this translation helpful? Give feedback.
All reactions