Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

269
Vistas
Problems with datepicker bootstrap - selecting date disable

enter image description here

Somebody can help me with this problem?

I only have one week to deliver

Below is the html code in angular , I don't know what I did wrong

I only have one week to deliver

  <input
             type="text"
                class="form-control rangeDate"
                (bsValueChange)="changeDate($event)"
                [bsConfig]="bsConfig"
                [maxDate]="maxDate"
                #drp="bsDaterangepicker"
                bsDaterangepicker
                [(bsValue)]="dateRangePickerValue"
              />
  public datePickerValue: Date = new Date();

  public dateRangePickerValue?: (Date | undefined)[];

  public range1: Date = new Date();

  public range2: Date = new Date();

  minMode: BsDatepickerViewMode = 'month';

  bsConfig?: Partial<BsDatepickerConfig>;

  maxDate: Date;

  constructor(
    private service: FinancialReportsService,
    private toasterService: ToasterService,
    private localeServices: BsLocaleService,
    private helper: ErpgrafService
  ) {
    this.maxDate = new Date();
    this.maxDate.setDate(this.maxDate.getDate());
    this.localeServices.use('pt-br');
    this.bsConfig = {
      containerClass: 'theme-dark-blue',
      minMode: this.minMode,
      rangeInputFormat: 'MMMM YYYY',
      showWeekNumbers: false,
    };
  }
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda