Skip to main content

All Questions

Tagged with
0 votes
1 answer
45 views

Binding multiple properties to a component using and object as props - Vue 3

I'm having a little problem binding multiple properties to a component using an object. When I use this component on any other page I expect to pass the props in matching the ContentOptions interface ...
bricewa's user avatar
  • 75
0 votes
1 answer
48 views

In Vue.JS, How to pass and change props value into nested components?

My requirement is very basic and easy, but not sure why even ChatGPT keeps giving me answer that has warning messages. I am using Vue 2. I have three nested components: GrandParentComponent, ...
theedchen's user avatar
  • 1,886
0 votes
3 answers
215 views

How to pass component as props in vue 3 composition api?

i want to pass props customActionComponent as component and need to render in child component FlightDetail.vue <template> <ComponentCard title="Flight Details" subtitle=&...
Juned Khorajiya's user avatar
0 votes
1 answer
61 views

Passing static data from parent to child Vue component

I'm studying Vue.js online through YouTube videos and I learned that to pass data from a parent to a child component we use v-bind in the parent and props in the child, yet after I created my first ...
abs hwiw's user avatar
0 votes
1 answer
102 views

Vue 3: Passing Data via Props and Vue Router Results in Invalid Params Warning

I'm working with Vue 3 and trying to pass data between views using Vue Router. My goal is to pass data from JobSelection.vue to Invoice.vue through router parameters In index.js I defined the props as ...
Jan Schmidt's user avatar
0 votes
0 answers
29 views

Passing an object to modal VUE

I'm having trouble with passing information to my modal. I would like to pass a complete object to the modal. I have a view (shortened for this purpose): <script> const openModal = (x, action) =&...
Jasper's user avatar
  • 133
0 votes
0 answers
41 views

Vue JS - How to send props and emit correctly to dialog component for edit the data

I have a parent component 'DaftarKajian' and child component 'DaftarKajianMobile' and another child component named 'EditJadwalDialog'. What I have to tried is props the fetched data from '...
Febryan Akhdani's user avatar
1 vote
3 answers
253 views

Pass dynamic object data via nuxt-link to component

I have a project which is build in Nuxt 3 with a homepage which shows products. On that homepage, you can click on the title of the product and the product details page opens up. I archive this by ...
Jan's user avatar
  • 645
0 votes
1 answer
126 views

Vuejs child component props does not update when parent component update props value

I have a parent and child component setup, whenever i pass an object property to my child component, it only picks up the initial value and does not further update when changes are made from the ...
Ladking's user avatar
1 vote
0 answers
21 views

Passing object with reactive properties as a prop triggers child component onUpdated hook when updating parent component state

Consider a simple component Comp.vue file that only logs a message in the console when updated: // Comp.vue <script setup> import { onUpdated } from 'vue' onUpdated(() => { console....
8ctavio's user avatar
  • 11
0 votes
0 answers
31 views

Vuejs basic structure type of props does not pass the Object

Any idea why below worklist to object page navigation does not pass the props? In debug, I can see the row passed to rowData in WorklistPage. But it arrives to the ObjectPage as an empty Object. <!-...
Merve Gül's user avatar
  • 1,397
0 votes
1 answer
98 views

Is it possible to pass a background image as prop from the Tailwind CSS config?

This is the parent component Camp.vue <template> <section class="border-2 border-green-400 2xl:mx-auto max-w-[1440px] relative flex flex-col py-10 lg:mb-10 lg:py-20 xl:mb-20">...
Zemmari Azzedine's user avatar
0 votes
0 answers
143 views

How to properly wait for props in child component from parent

I have created a child component which iterates to a variable that was sent from the parent component. The parent components sends an axios request to the backend and then sends it down to the child ...
Patrick Marcon Concepcion's user avatar
0 votes
1 answer
51 views

How to Pass value to Non Nested components in Vue 3 composition Api

I have a MainLayout , SideBar Component and a TopBar Component. I placed a SideBarButton Component on the the TopBar Component, which when clicked should toggle the sidebar. How do i pass the ref ...
H M Sadman Haque's user avatar
0 votes
1 answer
57 views

Vue.js 3 SFC Prop

When I use a prop in SFC the prop shows empty, or as you prefer it does not show. I have an ActionButton.vue file: <script setup> defineProps({ actionButtonOne: { type: String } }...
Anna's user avatar
  • 15

15 30 50 per page
1
2 3 4 5
27