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

268
Views
Selector de fecha para haber seleccionado, una fecha que viene de api

Tengo un selector de fecha en vuetify. Lo que quiero es que abra el menú v, el selector de fecha haya seleccionado una fecha que proviene de api, no la fecha actual. Esto es lo que tengo:

 <v-menu ref="dateMenu" v-model="dateMenu" :close-on-content-click="false" transition="scale-transition" offset-y min-width="auto" :return-value.sync="dateValue"> <template v-slot:activator="{ on, attrs }"> <v-text-field readonly v-bind="attrs" v-on="on" style="padding: 10px;" :value="new Date(Date.parse(taskInfo.scheduledAt)).toLocaleDateString('en- GB') === '' ? new Date().toLocaleDateString() : new Date(Date.parse(taskInfo.scheduledAt)).toLocaleDateString('en-GB')" :label="`${$t('dateActivity')} *`"> </v-text-field> </template> <v-date-picker no-title scrollable v-model="taskInfo.scheduledAt" :max="new Date().toISOString()"> <v-spacer></v-spacer> <v-btn text color="primary" @click="dateMenu = false">{{$t('cancel')}}</v-btn> <v-btn text color="primary" @click="$refs.dateMenu.save(new Date(Date.parse(taskInfo.scheduledAt)).toLocaleDateString('en-GB'))">OK</v-btn> </v-date-picker> </v-menu> taskInfo.scheduledAt => 2021-09-16T09:25:00.000Z

Selector de fechas

about 4 years ago · Juan Pablo Isaza
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!