Custom Fields
Re-Envisioned
Support MB Blocks (Repeatable?) Block over certain content length crashes

This topic contains 3 replies, has 3 voices, and was last updated by  SAS 3 weeks, 4 days ago.

  • Creator
    Topic
  • #16573
    Resolved
    Johannes Gross
    Participant

    While creating a dinner menu block for a restaurant, after the content for the repeatable menu items gets too long, it does not load the preview anymore as well as it becomes uneditable when reloading the page in the editor.

    Here is the html from the block editor:

    WORKING (shorter content)

    https://pastebin.com/xi4xREa0

    NOT WORKING (longer content – only the number between 41 and 60 have been added)

    https://pastebin.com/mV4F77u7

    The number of repeatable items does not seem to matter. Just the length of the meta stored within the html appears to make the difference. Once the content gets too long, it can still save but not anymore be switched into preview or edited when the page gets reloaded in the backend.

    When it happens, in the console, the call to

    https://pastebin.com/srTWG4Di

    shows the following error: Failed to load resource: net::ERR_CONNECTION_CLOSED

    Here is the block initialization:

    https://pastebin.com/ShS7V4LE

    Callback function:

    https://pastebin.com/6FE1FPrb

    Thank you for checking into this!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #16589

    Anh Tran
    Keymaster

    Hi Johannes, thanks for your feedback. The browser doesn’t handle the GET request with long URL. I’ve fixed it in version 1.0.10.

    #16602

    Johannes Gross
    Participant

    Thank you Anh for taking care of it so quickly! Appreciate it.

    #16663

    SAS
    Participant

    Hi Anh,

    unfortunately you can not sort the items in a repeatable group.
    And the Conditional Logic does not fit in the MB Blocks too.

    Any solutions for this?!

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.