Questions tagged [vue-directives]

A Vue.js directive can only appear in the form of a prefixed HTML attribute that takes the following format:

<element
  prefix-directiveId="[argument:] expression [| filters...]">
</element>

Common directives are v-if , v-for, v-model...

218 questions
0
votes
1 answer

laravel vue import plugins [vue-chat-scroll]

I'm relatively new to Vue.js and now I want to install this plugin vue-chat-scroll with in my Laravel application, but it throws this error: [Vue warn]: Failed to resolve directive: chat-scroll (found in [ChatLog]) I ran npm install --save…
Ronon
  • 738
  • 10
  • 26
0
votes
1 answer

Updating options on dynamic selector with Vuejs2

I have a problem updating the options array in a select tag in a VueJS component. I have several rows and on select on each row. Each select will use the same options array. When one option is selected, that option should disappear from the others…
Dakoso
  • 1
  • 1
0
votes
1 answer

VueJS Date Range

I have to select two dates to set input date range. I have used this library but not date range input, have used single datepicker for each dates (Start Date and End Date) as requirement is to display only one calendar at a time. I have used vuejs…
Akshay Vaghasiya
  • 1,597
  • 9
  • 36
  • 60
-1
votes
2 answers

V-if and v-for together in vue 3

I have a script which displays the global responses of chatbot in my application. The global response module of application has the option to mark one response as default. script:
Appu
  • 35
  • 5
-1
votes
2 answers

Property 'myfunc' was accessed during render but is not defined on instance

I don't know why but this error Property 'myfunc' was accessed during render but is not defined on instance is keeps on showing. I am sharing my Html and js code. const ListRenderingApp = { data() { return { todos: [ { text:…
-1
votes
1 answer

Cannot get click in Vue.js to work the way I'd like

everyone, I am new to vuejs and vuetify and trying to make a book app but the problem is all the code is complete but when I click on the dropdown item it shows all the books item but I want to show only selected book item. This is my HTML where I…
-1
votes
2 answers

Arrays and nested Arrays in Vue.JS

In a component I have these arrays : export default { data() { return { userGrades: [ [course= "Mathematics"], [grade = 18 ], [course= "Physics"], [grade = 15 ], ], userSubscriptions: [ [option=…
Tarek EZZAT
  • 333
  • 1
  • 5
  • 15
-1
votes
1 answer

How to optimize the v-for rendering (render 1000 users)

i'm rendering list of +1000 users, is there a way for example to show the first 20 users then the second 20 until the end? because it takes some time to render all the users at one time or render the first 20 users then show the rest i can for…
1 2 3
14
15