Laravel 5.4 and DatePicker


Topic: Laravel 5.4 and DatePicker

ozcanarslan pro asked 8 years ago

I am trying to import MDB 4.3.0 PRO in to Laravel framework version 5.4 but getting error
TypeError: $(...).pickadate is not a function
but it is working when i directly add pickadate library from Amsul's web site.

Bartłomiej Malanowski staff pro premium answered 7 years ago

@ozcanarslan, while Laravel is a server-side framework, MDB jQuery is just a client-side library. You can use MDB with Laravel without any troubles. You see that problem because you're using (probably) MDB Free. Datepicker is a component that is available only in MDB Pro. Personally, I have tried I think every version of MDB with Laravel 5.* and never had any problems

ozcanarslan pro commented 7 years ago

I solved problem by removing app.js file automatically created by Laravel. It is not compatible with MDB.js.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Closed

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No