Drag and Drop plugin built with Bootstrap 5


Topic: Drag and Drop plugin built with Bootstrap 5

KPHCRoman pro premium priority asked 10 months ago

<div data-mdb-sortable-init class="sortable-list" id="dragAndDrop1111" >
    <div class="sortable-item " > Africa</div>
    <div class="sortable-item " > Antarctica</div>
    <div class="sortable-item " > Asia</div>
    <div class="sortable-item " > Australia</div>
    <div class="sortable-item " > Europe</div>
    <div class="sortable-item " > North America</div>
    <div class="sortable-item " > South America</div>

Drag and Drop is working, but I am getting javascript errors.

sortable.js:258 Uncaught TypeError: Cannot read properties of undefined (reading 'el') at K._setInitInfo (sortable.js:258:47) at K._handleDragStart (sortable.js:222:10) at HTMLDivElement.i (event-handler.js:101:15)index.js:190 Uncaught TypeError: Cannot read properties of undefined (reading 'el') at K._setInitInfo (index.js:190:51) at K._handleDragStart (index.js:190:51) at HTMLDivElement.i (index.js:190:51)

What could be wrong?


Mateusz Lazaru staff commented 10 months ago

We will check it. Can you provide more detailed snippet to reproduce the error?


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 7.3.2
  • Device: Desktop
  • Browser: Google Chrome 127
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No