Skip to content

Tag: vuejs2

Vue JS 2 data manipulation

I have an instance of mounted in Vue, where I’m trying to set a date picker having the starting date depends on a data fed by an ajax response. Let’s say this data property is named start_date. I run my ajax request via the created instance in Vue. It’s a little weird when I tried to console…

Vue2: warning: Avoid mutating a prop directly

I’m stuck in the situation where my child component (autocomplete) needs to update a value of its parent (Curve), And the parent needs to update the one of the child (or to completely re-render when a new Curve component is used) In my app the user can select a Curve in a list of Curve components. My pr…

Vue.js: Calling function on change

I’m building a component in Vue.js. I have an input on the page where the user can request a certain credit amount. Currently, I’m trying to make a function that will log the input amount to the console, as I type it in. (Eventually, I’m going to show/hide the requested documents based on th…

Vuejs transition on table rows

I’m trying to have a transition (animation) on html table row (vue.js) with no success. Here’s the full example I am expecting that the hidden table row should appear with transition/animation on opacity property when it appears, but nothing is happening, how am I supposed to do so? This is perfec…