Multiselect dont work


Topic: Multiselect dont work

ChristiandaRosa pro asked 6 years ago

I am trying to use Multiselect but it is not working, it seems that it is not initializing. help me because I'm deadline


Kneidels pro commented 6 years ago

post some code?


Bartłomiej Malanowski staff pro premium commented 6 years ago

As the @Kneidels said, could you please share some code with us?


ChristiandaRosa pro answered 6 years ago

<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>

ChristiandaRosa pro answered 6 years ago

$(document).ready(function() { $('.mdb-select').materialSelect();});


ChristiandaRosa pro answered 6 years ago

sorry, I found the error, I was calling two versions of jquery. thks


Bartłomiej Malanowski staff pro premium commented 6 years ago

I'm glad you've found a solution!


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.7.1
  • Device: Desktop
  • Browser: Firefox
  • OS: Linux
  • Provided sample code: No
  • Provided link: No