MDB MultiSelect JS-Error if data-mdb-select-all=false data-m


Topic: MDB MultiSelect JS-Error if data-mdb-select-all="false" data-mdb-filter="true"

Joachim Schneider pro premium priority asked 2 years ago

The following API config leads to an JS-Error:

<select class="select" multiple data-mdb-select-all="false" data-mdb-filter="true">
  <option value="1">One</option>
  <option value="2">Two</option>
  <option value="3">Three</option>
</select>
<label class="form-label select-label">Example label</label>

Error::

Uncaught TypeError: Cannot read properties of null (reading 'selected')

mlazaru staff answered 2 years ago

Seems like multiple data-mdb-select-all="false" can't work along with data-mdb-filter="true". We will fix this bug soon.


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
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 4.2.0
  • Device: Web
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No