Skip to main content

All Questions

Tagged with
0 votes
2 answers
110 views

Toggle Button With Props & emit

this is my first time using props and I can't figure out what's the problem I want to make a component of the toggle button and then use it anywhere with an entry data, but it doesn't work as I expect ...
m.ma's user avatar
  • 3
1 vote
1 answer
542 views

How to access to v-model in custom component

I know we can use a v-model on a vue custom component to bind the value to parent component by this.$emit(input, e.target.value). Is there any way we can access the v-model with it's initial value? I ...
blackcityhenry's user avatar
0 votes
1 answer
798 views

How to use v-model using props in v-for in Vue 3

I want to use v-model using props in v-for. I used v-model with props before using computed variables, but don't know how to do in v-for. This is my code: <script setup> const fieldValue = ...
Utku Demir's user avatar
0 votes
2 answers
1k views

V-model and child components in VueJs

I have created a form component in VueJS and trying to bind the inputs to a parent component. I am not sure of the correct way to do this, and am confused that my current attempt works, as I don't ...
Rob's user avatar
  • 637
0 votes
0 answers
2k views

V-dialog doesn't work when v-model is a props

I am using vuetify.js and trying to pass v-model in props to a v-dialog tag, the v-dialog doesn't work. when I click on the button which set the props to true, the v-dialog doesn't open attached here ...
user's user avatar
  • 136
3 votes
1 answer
2k views

VUE Js child is not updating when parent updates

I am using VUE JS and I want to have group of checkboxes as below. When someone clicked on main checkbox all the checkboxes under that check box should be selected. Please find the attached image for ...
Shelly's user avatar
  • 420
0 votes
3 answers
216 views

vue js prop equal to v-model

Why changes take affect on also props when I set v-model equal to props in mount hook. export default{ props: { initial_value: Array, }, data(){ return { component_value: [] } }, ...
Ozal  Zarbaliyev's user avatar