Not able to implement multiselect using jquery


Topic: Not able to implement multiselect using jquery

sangeetha siva asked 6 years ago

Hi Team, we are using your sample code and trying to implement multi-select in the HTML page. but is not able to display properly in all browsers and it always throws the exception as material_select is not a function. Code Used:
// Material Select Initialization
$(document).ready(function() {
    $('.mdb-select').material_select();
});

Html:
<select class="mdb-select md-form colorful-select dropdown-primary" multiple searchable="Search here..">
<option value="" disabled selected>Choose your country</option>
<option value="1">USA</option>
<option value="2">Germany</option>
<option value="3">France</option>
<option value="4">Poland</option>
<option value="5">Japan</option>
</select>
<label>Label example</label>
<button class="btn-save btn btn-primary btn-sm">Save</button>

For more details Please find the attached screenshotErrorScreenShot2,ErrorScreenShot1,

Bartłomiej Malanowski staff pro premium answered 6 years ago

Material Select is a premium component which is available only with MDB Pro
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.5.10
  • Device: Lenovo
  • Browser: Chrome, safari, IE, Firebox
  • OS: Windows10
  • Provided sample code: No
  • Provided link: Yes