I need to save the emoji and text I added to the input with v-emoji-picker to the db. The emoji I clicked without a problem is displayed in the v-model. However, when I save the text with axios, the body itself appears, not the emoji alias. Doesn’t register in db either. I need to save the text and emoji as
Tag: vuejs2
How to delete many data in array if condition vue js
I have select many data and post to back end, it is succeed but after that i want to delete array data in front end without reload. I try with splice it is only delete one or two max is tow Here is my code after then i wont to delete all this baskets if checkbox is true i have
How to display images from an array in vuepress or vuejs?
I have an array which looks like below: but when I try to print using the below code Only the questions are generated correctly but the images are not displayed properly, only the location gets printed as below and is highlighted in blue. Please help. Answer I didn’t use the function call. I directly used require keyword in the img
Customize the display in an input [Vue.Js]
I have an input that must contain values according to the selected checkboxes, and I would customize the display on the input according to the checked checkbox. I have initialized a watcher that updates the v-model of my input but the display is the following: my input : [Jhon,Eliott] While I would like to put a space in place of
Infinite repeated while using v-for in vuejs
I have an API to get list of books, in each book I have author ID. I also want to get author name from that ID through another API (get author), so I use v-for to get items in list of book. Each item I call getAuthor(authorId) function but it repeats infinitely. Does anyone know what the reason is? My
VueJS : Unhandled error with simple script
Still learning VueJS, I just wanted to know why when I click on my button my function selection doesn’t work. All the rest in the created() is fine and shows the correct , but in my methods section, just to show a console.log on a click event I have this error : [Vue warn]: Unhandled error during execution of native
Does the store object in vuex fall through to leaf components?
Following the docs: https://vuex.vuejs.org/guide/mutations.html#committing-mutations-in-components and the video tutorial: https://scrimba.com/scrim/ckMZp4HN?pl=pnyzgAP it’s not clear (to me) whether store is visible in nested/child components present in the component that includes it. Answer From the docs you’ve linked (emphasis mine): You can commit mutations in components with this.$store.commit(‘xxx’), or use the mapMutations helper which maps component methods to store.commit calls (requires root store injection)
Vue.js component method on creation
I’m new to Vue and I’d like to make an AJAX call every time my component is rendered. I have a vue component lets say “test-table” and Id like to fetch the contents via an AJAX call. There are many such tables and I track the active one via an v-if/v-else-if etc. Currently I have a cheaty solution: in the
Vue.js on render populate content dynamically via vue.router params
AS title sates, I don’t so much need a solution but I don’t understand why I’m getting the undesired result; running v2 vue.js I have a vue component in a single component file. Basically the vue should render data (currently being imported from “excerciseModules” this is in JSON format). IT’s dynamic so based on the url path it determines what
Using VAutocomplete from vuetify with render function (scoped slot)
Am trying to use the Autocomplete component inside a render function. When I try to use the scopedSlots of the component it won’t work for me. My code: I tried using the answer on this post Vuetify VMenu with render function The answer when I try it works however when I apply it to the Autocomplete it isn’t working for