Topic: Select in sidenav not working and preventing accordion to work

gianlucagiacometti priority asked 6 years ago


Hello,

I tried to insert a select (for language) in the Side Nav in place of Search

The code is

<li>
<form id="language-form" action="/index.php" role="language" method="POST">
<div class="select-wrapper waves-light">
<select id="language-select" name="language" class="mdb-select md-form" searchable="Cerca..">
<option value="" disabled="">Scegli la tua lingua</option>
<option value="1">English</option>
<option value="2">French</option>
<option value="3">Italian</option>
</select>
<label>Lingua</label>
</div>
</form>
</li>

In Chrome (last) the select is not shown, the rest is working

In Firefox (last) the select is not shown and the accordion doesn't work anymore

I tried both with

<div class="select-wrapper waves-light">

and

<div class="form-group md-form mt-0 pt-1 waves-light">

with no results

Any ideas?


gianlucagiacometti priority answered 6 years ago


Sorry, I forgot to initialise the javascript :-)



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

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: 4.5.10
  • Device: All
  • Browser: Various
  • OS: Ubuntu Server 18.04 LTS
  • Provided sample code: Yes
  • Provided link: No