Questions tagged [vue-dynamic-components]

53 questions
0
votes
1 answer

vue dynamic components, repeat info

I have a list that, if you click to open it and list the children, you make a request ajax to load the data and paint a sub list, the component that performs this work is the same, is recursive and is loaded on the children through dynamic…
0
votes
1 answer

How do I inform the parent component that something has happened in a Vue dynamic component?

I have a Vue component that generates a dynamic component, and within that dynamic component is a click handler for a button that makes an Ajax call. Upon the Ajax call being successfully completed, I want to inform the component that generates the…
HartleySan
  • 7,404
  • 14
  • 66
  • 119
0
votes
1 answer

Remove ANY Grid-Item on the click of an 'x' button that is within each item, my method only deletes the last one

I am re-vamping a program for my Engineering departments research team, my app has been built using Electron, Vuex, HTML/Sass/Javascript. The program's purpose is to allow the user to create "steps" which are items/tiles that you can go into & set…
0
votes
1 answer

Add different child based on a condition into a dynamic Vue component?

I'm using Vuetify's navigation drawer. The navigation structure is coming from a Vuex store. The idea is to store the navigation structure into an object and build the navigation from there, so I choose to use dynamic component
0
votes
2 answers

Vue `vm.$on()` callback not working in parent when event is emitted from dynamic component child

I'm experiencing a problem where a custom event (swap-components) emitted from a dynamic component (A.vue or B.vue) is not being listened to correctly in the parent of the dynamic component (HelloWorld.vue). Here is the source on GitHub (created…
Brian Zelip
  • 2,909
  • 4
  • 33
  • 45
0
votes
1 answer

Props not passed to the dynamic component

I'm rendering a dynamic component: with: computed: { element() { return { name: this.elementObject.type, …
eozzy
  • 66,048
  • 104
  • 272
  • 428
-1
votes
1 answer

Need Help in Rendering Dynamic Component in Vue js

hi there i have the following situation . I have parent component (Health Profile) that lists child subcomponents with add button on each . I want to make the application such a way that when user clicks on add button only form to that specific…
srijan lama
  • 570
  • 6
  • 12
-2
votes
2 answers

Vue js render text with html content

What i'm trying to do is have a root element with a prop that holds inner html like: hellohey but i can't use v-html because this element also has children for example: