Metabox 5.10.0 / Metabox AIO 1.30.0 - Max_clone - Issue

Support MB Group Metabox 5.10.0 / Metabox AIO 1.30.0 - Max_clone - IssueResolved

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #46200
    CodogCodog
    Participant

    Hi there,
    after upgrading to MB 5.10.0 and MB AIO 1.30.0 which includes the much awaited feature: https://support.metabox.io/topic/removing-last-cloneable-group/#post-46174. I am seeing an issue with MB Group.

    The 'max_clone' => 3, // Max amount of clones attribute within my MB Group custom field is no longer being respected. IE: Although this is set to x3 Clones I am now only able to add x2 Clones Before the "Add Clone" button disappears?

    In fact no matter what the value of 'max_clone' is you can only ever clone 1 less than the actual value. This issue was NOT present before the recent upgrade.

    I assume this is a bug that will be rectified shortly?

    I look forward to the fix 🙂

    #46202
    CodogCodog
    Participant

    ....further to the above I have also spotted an additional issue.

    I am also using the MB Group inside a MB Frontend Submission form.

    When using the NEW 'clone_empty_start' => true, attribute within the MB Group settings any sub-field within the group which has the 'required' => true, attribute set gets an error validation BEFORE a clone has even been added/created? This prevents my MB Frontend Submission form from being successfully submitted!

    The Required Fix
    =================
    Sub-fields within an MB Group that have the 'required' => true, attribute set should NOT be validated until a NEW clone has been added/created.

    Steps to Reproduce
    ===================

    1) Create a MB Group with sub-fields.
    2) Within the MB Group settings use the 'clone_empty_start' => true, attribute.
    3) Within the first sub-field in the MB Group set the 'required' => true, attribute.
    4) Fill out ALL fields within an MB Frontend Submission Form (So there are no other errors) but DO NOT add a MB Group Clone.
    5) Attempt to submit the form and you will see that it is not possible and the "Please correct the errors highlighted below and try again." error message is shown.
    6) Then add a new MB Group Clone - You will see that the first sub-field is highlighted RED and throwing an error validation?

    Again, I assume this is a bug that will be rectified shortly?

    I look forward to the fix 🙂

    #46213
    PeterPeter
    Moderator

    Hello,

    Thank you for your feedback.

    Our development team is aware of two issues with the cloneable field and group field, we are working to release an update to fix those issues. It will be available as soon as possible.

    #46305
    CodogCodog
    Participant

    Hi Peter,
    that is good to know. Any likely future release date when these will be fixed?

    Thanks 🙂

    #46344
    StefanStefan
    Participant

    Great, I've got the same problem.

    #46367
    CodogCodog
    Participant

    Hi Peter,
    has the 5.10.1 and 1.30.1 updates resolved the highlighted issues? I have not had a chance to test yet.

    #46375
    PeterPeter
    Moderator

    Hello Codog,

    Yes, please update Meta Box and MB extensions to the new version and recheck the issue.

    #46443
    CodogCodog
    Participant

    Hi Peter,
    the recent update appears to have resolved my highlighted issues. Thanks!

    However, there are now new ones...

    Issue - https://support.metabox.io/topic/broken-mb-conditional-logic-meta-box-group/

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