datepicker style


Topic: datepicker style

Dalla Pia Casa asked 6 years ago

Hi all, I would to ask why the pickdate behaviour seems to be "incomplete". I don't understand where is the mistake. Thanks in advance, Lucio

Expected behavior https://mdbootstrap.com/docs/jquery/forms/date-picker/

Actual behavior I'm expecting to see also the blue box over the calendar box

Resources (screenshots, code snippets etc.) https://ibb.co/DCTGDh7

<div class="md-form col-2">
<small for="date-picker-example" class="form-text text-muted">A partire dal</small>
<input placeholder="Selected date" type="text" id="date-picker-example" class="form-control datepicker" data-value="2019,04,8">

<!-- Picker data -->
<script src="js/addons/picker.js"></script>
<script src="js/addons/picker.date.js"></script>
<script src="js/addons/legacy.js"></script>
<script src="js/addons/pickDate_it_IT.js"></script>
<script>
// Data Picker Initialization
$('.datepicker').pickadate();
</script>

Marta Szymanska staff pro premium answered 6 years ago

Hi,

would you reproduce your issue in the snippet here: https://mdbootstrap.com/snippets/? I'll try to help you.

Best, Marta


Dalla Pia Casa commented 6 years ago

https://mdbootstrap.com/snippets/jquery/dalla-pia-casa/562649

I don't know why... in your snippet page it's correct but on my localhost not


Dalla Pia Casa commented 6 years ago

With a copy/paste from the snippet generatad code (all picker div tag) to my localhost it works fine. It seems there are few parts of code (js ?) missing.

I downloaded .js files from http://github.com/amsul/pickadate.js/archive/3.6.2.zip because inside my MDB-Pro_4.7.5.zip there aren't datepicker.js files ... could be this the mistake?


Marta Szymanska staff pro premium answered 6 years ago

Hi,

I apologize if there were mistakes in the package. Would you update your project to the newest MDB 4.7.6 version? It should work.

Best, Marta


Dalla Pia Casa commented 6 years ago

Now it works... but I've found datepicker files (also toasts.js that I previously downloaded manually from the original plugin repository) in the MDB-Gulp-Pro zip ... not in MDB-pro (not gulp). Do I have to use always "gulp" version? Just to know and avoid future misundestanding, thank you. Lucio


Marta Szymanska staff pro premium commented 6 years ago

No, you don't have to use always Gulp version, if you don't need to compile with Gulp our scss files, you can use standard Pro version.


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: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.7.5
  • Device: pc
  • Browser: chrome
  • OS: win10
  • Provided sample code: No
  • Provided link: Yes