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

160
Views
how to parse the letters in vc-date-picker in vuejs

I'm trying to add a title next to the month and date in vc-date-picker using the :masks attribute.

Code:

<vc-date-picker  
                           class="consultation-calendar"
                            ref="calendar"
                           is-expanded 
:masks="{title:'YYYY MMMM' +  $t(`registration.${selectedOffice.office_key}`)}"
      :first-day-of-week="2"
                            mode="date" 
                            :min-date="new Date(min_consultation_date)"
                            :max-date="new Date(reservation_form.due_date)"
                            v-model="form.consultation_date"
                            @update:from-page="updateCalendarYear"
                            :attributes="calendar_attribute"
                            :disabled-dates="computed_calendar_setup.disabled_dates"
/>

As you can see in :masks attribute, the title would be . ex: November 2021 and then the name of the office, however on the UI it shows differently because I think :masks attribute parsed the equivalent value of the letter into number or month first letter.

Is there any way I can do it the right way? example: November 2021 My Office

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!