Topic: datepicker options start day on monday

moulot priority asked 7 months ago


hello, I would like to customize a datepicker so it starts on monday and also how do we customize the slected date shown in big. thank you


Grzegorz Bujański staff answered 7 months ago


You can use startDay input to set monday first. You can find all inputs here: https://mdbootstrap.com/docs/b5/angular/forms/datepicker/#docsTabsAPI.

What do you mean by shown in big?


moulot priority commented 7 months ago

hello, i mean the date shown in the blue section on the top of the modal. this date is the date selected by the user. thank you


Grzegorz Bujański staff commented 7 months ago

What type of customization do you have in mind, what exactly do you want to do?


moulot priority commented 7 months ago

i would like to be in the dd/MM/yyy format


Arkadiusz Idzikowski staff commented 7 months ago

@moulot Format of the date displayed in the component header is a part of the component design and it is not possible to customize this text (you can only change the language in which the text is displayed).



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • User: Priority
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB5 2.1.0
  • Device: macbook pro
  • Browser: chrome
  • OS: mac OS
  • Provided sample code: No
  • Provided link: No