Topic: MDBTransfer title is breaking

r.schnabl priority asked 8 months ago

MDBTransfer with titleSource or titleTarget is breaking

Expected behavior

      { data: 'Poland' },
      { data: 'Germany' },
      { data: 'USA' },
      { data: 'China' },
      { data: 'Madagascar' },
      { data: 'Argentina' },

Actual behavior

working fine without titleTarget and titleSource including either is breaking the component

Resources (screenshots, code snippets etc.)

Uncaught TypeError: o[y] is undefined
     setup MDBTransfer.vue:140
     o MDBTransferItem.vue:47

Bartosz Cylwik staff answered 8 months ago

Hi! What version of the Transfer plugin are you using? Does the rest of the component work properly for you? I tried the code you provided and it's changing the titles for me with no errors.

r.schnabl priority commented 8 months ago

"node_modules/mdb-vue-transfer": { "version": "2.1.0", "resolved": "git+", "license": "SEE LICENSE IN " }, "node_modules/mdb-vue-ui-kit": { "version": "3.1.0",

Bartosz Cylwik staff commented 8 months ago

Try installing the advanced mdb package and/or plugin without the #

npm i git+

npm i git+

The component throws no errors without titleSource or titleTarget right?

r.schnabl priority commented 8 months ago

the componet throws no errors without titleSource or titleTarget. the select all is working without problems, with or without title the error is when selecting an element from the list with a specific title - in that case the item is checked but it will not transfer (see the errors on check in the console).

the problem is the same with edge and firefox.

the test was from package-lock.json, in package.json are no #

Bartosz Cylwik staff commented 8 months ago

Ah I see. I didn't click enough on the component elements. I'm adding this issue to our list and we'll try to fix it when we can.

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: Priority
  • Premium support: Yes
  • Technology: MDB Vue
  • MDB Version: MDB5 4.1.0
  • Device: PC
  • Browser: Firefix
  • OS: Windows
  • Provided sample code: No
  • Provided link: No