Topic: Can I use normal Bootstrap select controls in a form with MDB?

Gallant pro asked 6 years ago


I'm using MDB Pro with jquery. Not sure what version, but the mdb.js file is dated 2/20/2018. In a form, I'm able to successfully initialize, render and use MDB select controls. But when I try to use a standard Bootstrap select control, it doesn't appear on the rendered page. I can inspect the element in the browser debugger and see it there. Here are my tags: <form> <div class="form-group"> <label for="sel1">Select list (select one):</label> <select class="form-control" id="sel1"> <option>1</option> <option>2</option> <option>3</option> <option>4</option> </select> </div> </form> Does using MDB prevent you from using normal Bootstrap select controls?

Marta Wierzbicka staff answered 6 years ago


Hi, Add this code: <div class="form-group"> <label for="exampleFormControlSelect1">Example select</label> <select class="form-control browser-default" id="exampleFormControlSelect1"> <option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> </select> </div> and don't initialize our material select. Best, Marta

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

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags