Copeland free asked 2 years ago

I am trying to add the select multiple to my form but it does not appear to be working correctly. I have included a screenshot below. I started the project using MDB init. I created a snippet and it appears correctly there. The code is below.

Screen shot of select

<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Material Design for Bootstrap</title>
<!-- MDB icon -->
<link rel="icon" href="img/mdb-favicon.ico" type="image/x-icon" />
<!-- Font Awesome -->
<link rel="stylesheet" href="" />
<!-- Google Fonts Roboto -->
<!-- MDB -->
<link rel="stylesheet" href="css/mdb.min.css" />

  <form class="row g-4">
    <div class="col-md-3">
      <select class="select" multiple>
        <option value="1">One</option>
        <option value="2">Two</option>
        <option value="3">Three</option>
        <option value="4">Four</option>
        <option value="5">Five</option>
        <option value="6">Six</option>
        <option value="7">Seven</option>
        <option value="8">Eight</option>
      <label class="form-label select-label">Example label</label>


<!-- End your project here-->

<!-- MDB -->
<script type="text/javascript" src="js/mdb.min.js"></script>
<!-- Custom scripts -->
<script type="text/javascript" src="js/name-validation.js"></script>

Michał Duszak staff commented 2 years ago

At the first glance it looks like you are running on mdb free files. Please download the package from orders and replace the files. Does the problem still exist? Are you experiencing any errors in the console?

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.10.1
  • Device: Desktop
  • Browser: Chrome, Edge
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: No