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
In our Rails app, we utilize a number of Vue components for various controls. In some of those components we slot in a Rails generated form. When we do so, the dynamic data attributes are attached to the root Vue instance.
Is it possible to have the attributes attached to the Vue component instance instead?
It would be nice to not have to reach up to the root to get the data. More importantly, we would like to avoid naming collisions if a given view has initialized several instances of the same component.
The text was updated successfully, but these errors were encountered:
In our Rails app, we utilize a number of Vue components for various controls. In some of those components we slot in a Rails generated form. When we do so, the dynamic data attributes are attached to the root Vue instance.
Is it possible to have the attributes attached to the Vue component instance instead?
It would be nice to not have to reach up to the root to get the data. More importantly, we would like to avoid naming collisions if a given view has initialized several instances of the same component.
The text was updated successfully, but these errors were encountered: