Topic: datepicker missing features

cheviman premium asked 1 week ago


Hello!

I recently started migrating my project from MDB 4.2 to the latest version and encountered the following issue. When configuring the Datepicker to format the displayed date, I used : format: 'dddd d !de mmmm !de yyyy',

where I used "!" as a flag to prevent processing "de", since it was being interpreted as part of the date. Is this no longer available?

Additionally, another thing I used to do was set and get values from the input using $("#OfertaServicioDesdeFecha").pickadate().pickadate('picker').get('select', 'yyyy-mm-dd') and $("#OfertaServicioDesdeFecha").pickadate().pickadate('picker').set('select', 'yyyy-mm-dd'). This allowed me to reuse stored values. I can’t find a way to replicate this behavior in the latest version.

Is there an alternative for these features? Thanks!


Mateusz Lazaru staff commented 1 week ago

here is everything about format option. https://mdbootstrap.com/docs/standard/forms/datepicker/#api-section-options

and formatting rules: https://mdbootstrap.com/docs/standard/forms/datepicker/#section-formats

if that doesn't help, tell me precisely what is the expected behavior?



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 8.2.0
  • Device: desktop
  • Browser: chrome
  • OS: windows 11
  • Provided sample code: No
  • Provided link: No