Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

273
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda