I manually installed my Pro files and dont have any of the f


Topic: I manually installed my Pro files and dont have any of the features!!!!!

ItIsN3RD asked a year ago

Expected behavior Should have multiselect functionality but don't!!! Actual behavior I manually installed my Pro files and dont have any of the features!!!!! Resources (screenshots, code snippets etc.)


Marcin Luczak staff answered a year ago

Hello @ItIsN3RD,

Multiselect is a component that needs initialization via JavaScript. From the link you provided I can tell that you didn't add any multiselect init function.

// Material Select Initialization
$(document).ready(function() {
    $('#initialized-select').materialSelect();
});

Please see my snippet showing the difference between initialized and not initialized component https://mdbootstrap.com/snippets/jquery/marcin-luczak/2792597

Regards, Marcin


ItIsN3RD answered a year ago

@Marcin Luczak I tried that multiple times and that doesnt work, thanks for the response tho.


Marcin Luczak staff commented a year ago

Hi,

I've downloaded the exact same version of our MDB Pro package as you have to check whether there is something wrong with the zip, copied your whole code from your example on SO, and it works properly.

Can you please check if your /js/mdb.js or /js/mdb.min.js file contains material-select.js attribution at line 24, and if the rest of those files contains materialSelect word instances. Despite this, please also check your console for any warnings or errors. Downloading the package once again could be helpful too.

Regards, Marcin


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.19.2
  • Device: desktop
  • Browser: chrome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: No