Topic: Differenct between MDB Pro 4.5.3 and 4.4.3 in search-form

herrshi premium asked 6 years ago


Hello, I'm looking at the tutorial of admin-dashboard. When I use the search form in the side nav, I found the style is different between 4.4.3 and 4.5.3. The style is incorrect with 4.5.3. Is this a bug?
Start your code here
<li>
  <form class="search-form" role="search">
    <div class="form-group waves-light">
      <input type="text" class="form-control" placeholder="Search">
    </div>
  </form>
</li>
 

Marta Wierzbicka staff answered 6 years ago


Hi, we will update our tutorial if there are some errors, I'm sorry for this. But the correct code for search in side-nav is:
<!--Search Form-->
<li>
  <form class="search-form" role="search">
    <div class="form-group md-form mt-0 pt-1 waves-light">
      <input type="text" class="form-control" placeholder="Search">
    </div>
  </form>
</li>
<!--/.Search Form-->
You can find everything about side-nav in our documentation here: https://mdbootstrap.com/javascript/sidenav/ Best, Marta

herrshi premium commented 6 years ago

It works. Thanks!


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: Premium
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No
Tags