Skip to main content

All Questions

Tagged with
0 votes
1 answer
28 views

Problems with passing event from child component. Vue 3

The item is not removed from list. Although I am passing the red to the event via emit(). parent ... <b-list-group-item class="d-flex align-items-center justify-content-...
Rim Khairullin's user avatar
0 votes
1 answer
372 views

VueJs Lost Prop Data After Restart Page

Hi friends, I am passing data from parent component to child component. But the data I send to the child component sometimes shows " "(empty text) in the console. For example, when I refresh ...
harundogan's user avatar
0 votes
0 answers
179 views

Add/remove class on only one item in for loop (Vue)

I would like to add and remove a class from only one item at a time in a for loop. I have a bunch of dynamically loaded items, and once one of them is clicked, that item should have the class. When ...
lindastralberg's user avatar
1 vote
1 answer
1k views

How to update Vue array of components with a click IN one of the children components

I am displaying an array of child components and in the child component, I need to click some text to make THIS child push to the front of the array. I've tried it where the child sees the array which ...
Shawking's user avatar
  • 138
3 votes
1 answer
2k views

Vue.js props object passed to children component is undefined

I have got a parent and a child component. The parent component includes directly the child component. This child component needs some data from the parent. The parent component loads the data from a ...
Philschke's user avatar