pickadate is not a function


Topic: pickadate is not a function

Teguh Arifandi pro premium priority asked 3 days ago

using date range picker from available sample,

 var from_input = $('#inputDateStart').pickadate(),
 from_picker = from_input.pickadate('picker');

datepicker itself working

    <div class="form-outline" data-mdb-datepicker-init data-mdb-input-init data-mdb-format="dd/mm/yyyy">
    <input id="inputDateStart" type="text" class="form-control form-control-lg" asp-for="FilterDate" data-mdb-toggle="datepicker" />
    <label class="form-label" for="inputDateStart">Start Date</label>
    </div>

screenshot

Thank you.


Teguh Arifandi pro premium priority answered 2 days ago

declaration of css and js

<link rel="stylesheet" href="~/lib/font-awesome/css/all.min.css"/>
<link rel="stylesheet" href="~/lib/mdb5-standard/css/mdb.min.css"/>
<link rel="stylesheet" href="~/lib/mdb5-standard/plugins/css/all.min.css" />
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true"/>
<link rel="stylesheet" href="~/css/loading.css"/>

<script src="~/lib/jquery/dist/jquery.min.js"></script>
<script src="~/lib/font-awesome/js/all.min.js"></script>
<script src="~/lib/mdb5-standard/js/mdb.umd.min.js"></script>
<script src="~/lib/mdb5-standard/plugins/js/all.min.js"></script>
<script src="~/lib/microsoft-signalr/signalr.min.js"></script>
<script src="~/js/site.js" asp-append-version="true"></script>

Kamila Pieńkowska staff answered 2 days ago

Datepicker do not have pickadate method. I don't understand what is not working ad what do you try to achive.


Teguh Arifandi pro premium priority answered 19 hours ago

sorry, newbie here

just realize there is API page on every page on documentation.

Thank you.


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 8.1.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No