datepicker inside a modal


Topic: datepicker inside a modal

dusan pro asked 7 months ago

Here's an example: imgur GIF or screenshot:



Can it be fixed so that it opens up ABOVE the  parent modal? It makes much more sense.


Piotr Glejzer staff commented 7 months ago

Hi,

Its a bug. I addded that to our list to do. Sorry about that. We will try to fix that as soon as possible. 

Best,

Piotr


gianlucagiacometti pro answered 6 months ago

Try to attach it to the body:

$('.datepicker').pickadate({
  container: 'body'
});

Please insert min. 20 characters.
Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: jQuery
  • MDB Version: 4.5.15
  • Device: any
  • Browser: any
  • OS: any
  • Provided sample code: No
  • Provided link: Yes
Tags