Bug Report: Taxonomy Select Fields Data Interference in Multiple Meta Boxes

Support Meta Box AIO Bug Report: Taxonomy Select Fields Data Interference in Multiple Meta Boxes

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #45758
    AXEL PARATREAXEL PARATRE
    Participant

    Hello MetaBox Support Team,

    We have encountered a significant issue with MetaBox where taxonomy select fields are not saving data correctly under certain conditions. Specifically, when we use two or more select fields associated with the same taxonomy within the same meta box, the data from these fields appears to be shared or overwritten, rather than saved independently for each field.

    Could you help us resolve this problem please

    Thank you

    Regards

    Nathaniel

    #45764
    PeterPeter
    Moderator

    Hello Nathaniel,

    Thank you for your feedback.

    Actually, it isn't a bug. Your case is noted in the documentation when using the taxonomy field
    https://docs.metabox.io/fields/taxonomy/#data

    The purpose of this field is to replace the default WordPress meta box for taxonomy and offer more options to control how it displays.
    
    For this reason, if you have two taxonomy fields, and select different values for them, after saving, they still show the same value.
    #45854
    AXEL PARATREAXEL PARATRE
    Participant

    Hello MetaBox Support Team,

    Thank you for your response.

    Regarding the issue with taxonomy select fields not saving data correctly when multiple fields are associated with the same taxonomy within the same meta box, we understand this is noted in the documentation.

    Could you please let us know if there is any workaround for this issue? Perhaps a custom hook that handles this during the save_post action?

    Thank you for your assistance.

    Best regards,

    Nathaniel

    #45862
    PeterPeter
    Moderator

    Hello,

    You can use the field taxonomy_advanced to have more fields and save value. Please follow the documentation https://docs.metabox.io/fields/taxonomy-advanced/

    Regarding the taxonomy field, you can use only one field per post.

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