several datepicker on one site


Topic: several datepicker on one site

Joachim Kumpa pro premium priority asked a year ago

Expected behavior i have several datepicker on my site and it works fine ( ... )

I want to use the following options for each datepicker: - Close without confirmation - Custom header content Despite various attempts at a solution it does not work, Please help, thanks

Actual behavior By the way : If I look at some examples in the sandbox and download them, I see that mdb-version 3.x is used ? also some examples in the sandbox don't work ( JS-code is missing ) Resources (screenshots, code snippets etc.)


kpienkowska staff answered a year ago

Here is a snippet demonstrating how to customize the header: https://mdbootstrap.com/snippets/standard/kpienkowska/5370546#js-tab-view


Joachim Kumpa pro premium priority commented a year ago

thanks... but i need this solution with support for internationalization AND i have 4 Datepicker on one site.


Joachim Kumpa pro premium priority answered a year ago

thanks... but i need this solution with support for internationalization AND i have 4 Datepicker on one site.


Joachim Kumpa pro premium priority answered a year ago

I've tried a few more things, but it doesn't work. Your solution is good for ONE datepicker.

But i have 4 datepicker on the site, - each datepicker need "Internationalization" - each datepicker need "Custom header content"


kpienkowska staff answered a year ago

You need to add more JS code. You can init as many datepickers as you want and pass any option, different for every datepicker if you need.

https://mdbootstrap.com/snippets/standard/kpienkowska/5377739


Joachim Kumpa pro premium priority commented a year ago

Thanks for the solution, I'll try to integrate an internationalization


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 Standard
  • MDB Version: MDB5 6.4.0
  • Device: computer
  • Browser: Firefox (newest)
  • OS: win11
  • Provided sample code: No
  • Provided link: No