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

129
Views
Deshabilitar fechas en selector de fechas de arranque

como dice el título, me gustaría deshabilitar fechas específicas de un selector de fechas de arranque (v4.6). ¿Hay alguna manera de hacerlo? Ya he intentado agregarle algunas propiedades haciendo

 $('#input_date').datepicker('option', 'minDate', '2022-02-10');

sin éxito (en realidad crea un nuevo selector de fechas de jquery UI que no quiero).

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Como se publicó en el comentario de su respuesta, puede encontrar las opciones requeridas aquí: https://bootstrap-datepicker.readthedocs.io/en/latest/options.html#datesdisabled

Algo como:

 $('#input_date').datepicker({ 'minDate': '2022-02-10', 'datesDisabled': [ new Date(2021, 03, 25), "03/25/2021 00:00" ] });

También una respuesta: Bootstrap datetimepicker datesDisabled

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!