Potentially multiple partial instances with single form dependency #4858
Unanswered
pete-griffiths
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a partial that has a dependency on a form and a js function. I clearly only want to inject one instance of the form/js irrespective of the number of partial instances on the page (and I don't want the form/js in the page if there are no partial instances). How should I approach this?
Beta Was this translation helpful? Give feedback.
All reactions