Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

221
Views
¿Cómo mostrar un rango de semana v-date-picker range?

Estoy usando v-calendar como selector de fechas en mi proyecto Vue. Mi objetivo es seleccionar la semana completa : 7 días fijos de domingo a sábado. He estado buscando en la documentación pero no puedo entenderlo.

Esto es lo que tengo como ejemplo https://codepen.io/achaphiv/pen/OJXjooB

 <div id='app'> <v-date-picker v-model="value" :available-dates="availableDates" is-inline></v-date-picker> The current date is: {{ value || 'null' }} </div> new Vue({ el: '#app', data() { const now = new Date() const later = new Date(now.getTime() + 5 * 60 * 1000) return { value: null, availableDates: [ { start: now, end: later } ] } } })
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Si te entendí correctamente, prueba con el siguiente fragmento:

 new Vue({ el: '#app', data() { return { value: null, availableDates: { start: new Date(), end: new Date(new Date().setDate(new Date().getDate() + 7)) } } } })
 <script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.17/vue.js"></script> <script src="https://unpkg.com/v-calendar@1.0"></script> <div id='app'> <v-date-picker v-model="value" :available-dates="availableDates" is-inline></v-date-picker> The current date is: {{ value || 'null' }} </div>

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!