Checkbox list toggle all button VERY slow

Support General Checkbox list toggle all button VERY slow

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #42330
    Piero le RouxPiero le Roux
    Participant

    Hi,

    Any optimization that can be done on the Toggle All button?
    It takes around 5 seconds to select a list of approx 150 checkboxes. I can only imageine how much longer on lower spec computers!

    Another question,
    The checkbox_tree, is it supposed to show children from the start, or only when a parent is selected. Mine is behaving that all items in the tree is shown from the start. I am understanding from the Documentation that children is only shown upon parent selection.

    #42338
    PeterPeter
    Moderator

    Hello,

    1. I have around 100 items and if I click on Toggle All, it only takes less than 1 second to check all items. You can try on a fresh installation of WordPress and Meta Box and observe the issue again.

    2. Regarding the checkbox_tree, yes, the child item shows from the start. If you want to show the child item when selecting the parent item, please use the field type select_tree.

    #42356
    Piero le RouxPiero le Roux
    Participant

    Hi Peter,

    Thank you.

    What browser were you using just out of curiosity?

    #42357
    Piero le RouxPiero le Roux
    Participant

    Hi Peter,

    The select_tree field type looks like a select_advanced field, and not like a checkbox list type. Am I missing something?

    #42358
    Piero le RouxPiero le Roux
    Participant

    Ok nevermind, I tested the select_tree on a new install and see that its behaving different than what i experienced on the main install. On the main install the values are not displayed. Its just blank. Busy investigating

    #42359
    Piero le RouxPiero le Roux
    Participant

    With regards to the slow select. It is slow on a fresh install as well.

    What I can mention is that I have around 30 conditional fields, all which have over 200 select options. Could it be slow because there are so many select options on the same page even though they not in the same fieldset?

    #42373
    PeterPeter
    Moderator

    Hello,

    Please share your site credentials via this form https://metabox.io/contact/
    I will take a closer look.

    #42391
    Piero le RouxPiero le Roux
    Participant

    Hi Peter,

    Thank you. Sent.

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