Topic: Drag and Drop plugin built with Bootstrap 5
KPHCRoman priority asked 4 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?
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- 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
Mateusz Lazaru staff commented 4 months ago
We will check it. Can you provide more detailed snippet to reproduce the error?