Skip to content
Advertisement

Tag: vue.js

Apex chart x y linear chart based on dateTime

Hey i am using Apex chart with vue.js VueApexChart Here is my option value : and here in my component data here is my series structure: Then i am having my component called like this: Nothing is displayed on the chart Answer Running it in a codesandbox works fine. Are you sure it isn’t just because you didn’t have any

Vue 3: Why get same value before update object

I have 2 components in my project where I tried create query based search filter PostsList component: PostFilter component: I must send one API request when filters is change/update. But why I get same values in activeFilters and in coming filters from method setFilters() of PostsList component on everytime? Why I lose old value of activeFilters before set new values

How to write method in vuejs using js code?

My codepen link https://codepen.io/santoshch/pen/LYWPMQy Facing an issue, when trying to convert the js code to vuejs. in the method i tried writting the js code. but getting error. Answer Here is the code from plain JS to Vue2 https://codesandbox.io/s/peaceful-http-2n9y7?file=/src/components/SelectionBox.vue The onclick event in JS can be translated to @click in Vue methods contain function Using expanded variable to control .visible

Vue add suffix to model

I try add suffix (date.now) to my model each time when user enter some information in v-model=Name to achieve it i try to make it by function loanDate which trigger each time when i enter name. But the problem is is that do not work correctly and i wonder what is the right way to achieve it: Input field: loanDate

Trying to add v-model textboxes in a v-for loop of an Object

I have a bit of a problem. I am trying to loop through an object in order to create textboxes dynamically, rather than manually writing out the fields. Then in the template. That’s not working. I have also tried to loop through the keys (editedItem.keys), but I can’t seem to assign just “item” to the v-model. Answer You can think

Link v-model to a object’s property in Vue.js 2

I use Vue.js 2 and I have this array, obtained from this API call (https://developers.themoviedb.org/3/genres/get-movie-list this one) that I’ve used to make a select in HTML: What I want is to link the v-model, which is declared in Js as an empty string, to the property id of this array. I can’t extract the property and use an array with

Advertisement