Get Attach / Detach Event into Custom field #5137
Unanswered
merijnponzo
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
Uh oh!
There was an error while loading. Please reload this page.
-
Don't know if it's already possible but it would be great to have an example or way to check if a relationship is attached or detached within a custom field.
I see an XHR request which is something i could use within my custom field, but with Vue2 maybe listen to $root.$emit would be enough
Like:
https://coreui.io/vue/docs/3.2/directives/emit-root-event.html
So whenever the attach or detach button is hitted I could listen for it within my custom field component.
Or Vuex could be used as a kind of transportation system as wel
like
And Just push events into the vuex
Beta Was this translation helpful? Give feedback.
All reactions