datepicker when clicks scrolls page to top


Topic: datepicker when clicks scrolls page to top

moulot pro premium priority asked 3 years ago

Hello, i'm on version 8.8.2 mdb 4 when i click on datepicker page scrolls to top. any idea? thank you Georges


Arkadiusz Idzikowski staff commented 3 years ago

@moulot Please include an example HTML/TS code that you use and provide more information about the reproduction steps (does this problem occur when you open a date picker or when you try to choose a date?).


moulot pro premium priority commented 3 years ago

the problem occurs when i choose a date. HTML : saisir la date svp TS: myDatePickerOptions = Utils.myDatePickerOptions; ... this.tuitionForm = this.fb.group({ fLastName: [''], fFirstName: [''], fEmail: ['', Validators.email], fCell: [''], fDateOfBirth: [''],

fDateOfBirth is linked to the date picker in a form. thank you


moulot pro premium priority commented 3 years ago

HTML : div class="col-md-2"> div class="md-form mt-0 mb-0"> mdb-date-picker name="opDate" [options]="myDatePickerOptions" formControlName="opDate"> div *ngIf="paymentForm.get('opDate').errors && paymentForm.get('opDate').touched" class="text-small text-danger">saisir la date svp /div> /div>


Arkadiusz Idzikowski staff commented 3 years ago

@moulot Please edit your first post and paste the code there using our code formatter. We need more information about the datepicker HTML code (which datepicker inputs you use, if any) and myDatePickerOptions. All information will be helpful because these kinds of bugs are hard to reproduce.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB4 8.8.2
  • Device: dell notebook
  • Browser: chrome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: No