All Questions
1,473
questions
1
vote
1
answer
49
views
Default option in v-select not clearing/deselecting
I've a survey page in Vue JS which there is a dropdown which contains multiple options. There must be an answer selected by default whose answerid is stored in the api response as DefaultAnswerId. The ...
0
votes
1
answer
53
views
Nuxt-i18n : Retrieve and loop arrays from translation messages or json files
Please help. I am trying i18n with Nuxt 3 using @nuxtjs/i18n package and hit a road block retrieving arrays form translation documents as is. The value comes as abstract syntax tree using $tm, as ...
0
votes
0
answers
28
views
Vue - Two Reactive Arrays: How do I change the state of one and not the other? [duplicate]
Both arrays are rendered on the UI. The second array ("array2") is a modification of the first ("array1"). I want to modify array2 without array1 changing at all, but haven't ...
0
votes
1
answer
47
views
Js Data not dispalying on Frontend
I am trying to show this data from an array in a .js file in the frontend but it doesnt show. Its just blank and i dont know what is wrong. i have done the imports right and everything.
The js file:
...
0
votes
1
answer
132
views
Using find, match and filter with reactive array in VueJS - how do I?
Thought I understood .value but apparently not! :)
This is using VueJS v3 and Composition API. I'm attempting to find the first matching value in a reactive array of people. In reality my array is ...
0
votes
1
answer
72
views
Need ideas to build a recipient list like Gmail in Vue3
I wanted to build a recipient list like in Gmail using Vue3 recently but I am out of idea on how to accomplish this and I can't seem to find good ressources online.
recipient list
I have an array of ...
0
votes
0
answers
32
views
Correct configuration of paths in vue 3 router
I have a router file that contains links to pages (I think it makes no sense to attach it, there are no errors)
There is a films component.vue, in which I display a list of films for the swiper as ...
0
votes
1
answer
20
views
Vue display output of two dimensional array
I can't get my head around this one...
My backend provides an API response with a two dimensonial array:
Team-category, with teams belonging to that category.
The data is returned ok, but I can't get ...
0
votes
0
answers
23
views
How can I change pages when searching by id for an element in a table? Vue js
I have a problem, I work with vue js, vuetify2, I have a table of elements with a pagination, currently there are 2 pages, but there can always be more.
I have a modal with a "See more" ...
-1
votes
1
answer
47
views
Can't reset Reactive with value is array
I got a problem, when i create an array
initial Reactive()
And I want it reset whenever Type change.
reset function
But not working.
Anyone has solution, please let me know, and can u please ...
-1
votes
1
answer
103
views
Updating javascript Array of objects returns duplicates in the array
I'm writing a chat app in a vue project and tinkering around with it.
Full featured one needs to be able to live-update "seen" states, so as one user sees the last sent message, the other ...
-1
votes
1
answer
104
views
Vuejs template : "Cannot read properties of null" but Array is defined
I want to display an array elements in my Vuejs template.
I am getting data from API, formatting them into an associative Array with a function and then trying to display in the template :
export ...
1
vote
1
answer
80
views
Issue with pushing same option in selects array if the option added already exists in array
When I add a new dynamic select and I choose the same option that was already in the selects array.
Example:
{ id: '1', name: 'Contact Info > Provide Email Address', value: '0.05' }
I get the ...
1
vote
1
answer
394
views
Put Quasar q-checkbox Answers into an Array in an Array
i have an array called answers. I want to store the answers from different Questions in that array. One Question type that i have is q-checkbox to select multiple answers. Because its possible to ...
0
votes
1
answer
99
views
vuejs3 array length does not update appropriately
i am trying to build a shop and i try to add items to the cart but for some reason the cart length is wrong as i am trying to be able to add items to the cart without having duplicates in terms of ...