Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: DateTime picker component

lede premium asked 6 years ago


The majority of date fields I use seem to need a time as well. Having them separate almost never makes sense to me. It's nice to have the option available, but also if I'm using it for a timestamp field (comment date/time or a calendar event for example). I have found this material datetime picker which I think you should put into mdb as well https://github.com/djibe/bootstrap-material-datetimepicker I had to make a couple of padding changes but it just works

RichardT premium answered 4 years ago


if I use the example you mentioned I get an error in my console: Uncaught TypeError: Cannot read property 'value' of undefined. Also the month and year select/dropdown don't work.


Krzysztof Wilk staff commented 4 years ago

Hi!

Thanks for reporting this issue. We'll try to fix it as soon as possible.

Best regards


Sergio pro answered 4 years ago


Still not implemented? Most of times a datetime is needed.


Tomek Makowski staff commented 4 years ago

Hi

try to use this example: https://mdbootstrap.com/docs/jquery/forms/time-picker1/#date-time-picker

Regards


Piotr Glejzer staff answered 6 years ago


Hi lede, I checked your idea. That datetimepicker looks good. So I put your idea to our 'task to do'. We probably will do little changes to make it looks better. Thank you very much for that and have a nice day! Best, Piotr

lede premium commented 6 years ago

Brilliant, thanks. I added the following styles to match the colours with the skin I was using. .navy-blue-skin .dtp-header { background-color: #353b50 !important; } .navy-blue-skin .dtp-date { background-color: #353b50 !important; } .navy-blue-skin .dtp table.dtp-picker-days tr>td>a.selected { background-color: #353b50 !important; }

Piotr Glejzer staff commented 6 years ago

We noted it. Thank you again!


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

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags