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
the reason i am doing it this way is because if i don't use a singleton, it will run the query for every single model when viewing the resource and causes the page to load extremely slowly
is there a way to defer resolving of the dealers until the action modal actually pops up?
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.
-
Right now I have a custom field called
DealerOptions:there is a
dealersmethod which passes data to the Vue componenti am using a service provider to register a singleton for these options:
i use this singleton when registering the dealer options in the field
i use this in an action, here are the action fields:
the reason i am doing it this way is because if i don't use a singleton, it will run the query for every single model when viewing the resource and causes the page to load extremely slowly
is there a way to defer resolving of the
dealersuntil the action modal actually pops up?Beta Was this translation helpful? Give feedback.
All reactions