Bug? In front end form, "add new", checkbox tree display

Support MB Frontend Submission Bug? In front end form, "add new", checkbox tree display

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #42036
    Scott BrimScott Brim
    Participant

    I think this is a bug but am not sure. I believe that the result of using the new "Add New" displays poorly if the field is displayed using "checkbox tree".

    • In Meta Box, create a CPT and an associated taxonomy. The taxonomy must be hierarchical.
    • Seed the taxonomy with some terms. Make some of them children.
    • Create custom fields for the CPT. At least one field should be for the associated taxonomy, type "taxonomy", and display type should be "checkbox tree".
    • On a page, set up a shortcode mb_frontend_form to create a new custom post.
    • View the page, and see that the checkbox tree shows existing hierarchical terms. Click the taxonomy's "add new" button. Create a new taxonomy term. Return to the main form.
    • See that the new term appears, but it appears multiple times.

    The taxonomy term has actually only been created once. This seems to be a display problem with a checkbox tree.

    If you can't reproduce it, I would appreciate your looking at a test site I can give you access to.

    Thank you.

    #42037
    Scott BrimScott Brim
    Participant

    Here is an example of the result I'm seeing:

    #42038
    Scott BrimScott Brim
    Participant

    https://imgur.com/npmtrKH

    #42064
    PeterPeter
    Moderator

    Hello Scott,

    I do not see that issue on my site. Can you please take a screen record of steps you do on your site? Also, let me know which version of Meta Box and Meta Box extensions you are using.

    #42077
    Scott BrimScott Brim
    Participant

    Peter, here's a screencast. Please forgive my quick edits.

    I see this problem on two different testing sites, one almost new. I don't think it's a database problem, and other plugins don't seem to make a difference. I also see it with two very different themes, Kadence and Ollie.

    https://screencast.apps.chrome/1L9UgSA5P0Rj0_goFcka3NNBT__IrkUzD?createdTime=2023-06-05T15%3A50%3A31.465Z

    Meta Box and AIO are all the latest versions as of a few hours ago, but this occurred in previous versions as well.

    #42101
    PeterPeter
    Moderator

    Hello,

    Thanks for your details.

    I can reproduce the issue on my demo site. I've escalated this issue to the development team to fix it in the next update.

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