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

266
Views
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
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!