Group clone bug

Support MB Group Group clone bugResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #46649
    YasmineYasmine
    Participant

    For the groups fields, I noticed that if you delete the first one, then it does not shift the second one to be first in the array. I use the # in the title, and so when 1 is deleted number 2 (now 1 in list) stays as '2'. It also means any custom js validation that is querying the first clone[1] does not work. As it checks the one that no longer exists. Can this be fixed? Using 5.10.2 && 1.30.2
    Thanks!

    #46655
    PeterPeter
    Moderator

    Hello,

    If you delete a cloneable entry, you can save the post and reload the page, the index number will be corrected. If you use a custom JS code, you might need to listen to the DOM change and re-trigger the function to check the clone entries.

    #46656
    YasmineYasmine
    Participant

    Yes I figured that out, just not ideal for frontend forms. And I can make the changes to js based on DOM rather than index. Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.