Selecting many relationships taxes forever (more efficient way)??

Support MB Relationships Selecting many relationships taxes forever (more efficient way)??

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #40740
    kevin@digitalgravy.co[email protected]
    Participant

    If you need to relate many (think 10-50) items to another post, it's very very inefficient. The select input doesn't support multi-select, there's no search, etc. It's terribly tedious. Is there any way to improve efficiency here?

    #40745
    PeterPeter
    Moderator

    Hello,

    Thank you for your feedback.

    Currently, MB relationship select box only supports selecting one object per selection. You can add more objects and it also supports searching for objects with the default field type select_advanced.

    #40765
    Michael KernMichael Kern
    Participant

    Gotta be honest: Not a fan of this reply at all. It's already clear what is supported. Could you please elaborate on whether MetaBox plans to add better UX by allowing multi-selection similar to the way one would apply multiple taxonomies to a post?

    #40772
    PeterPeter
    Moderator

    Hello,

    I will inform the development team to consider supporting this feature for the relationship selection. Thanks.

    Additionally, you can use the field type checkbox_list to select more posts. For example:

    MB_Relationships_API::register( [
        'id'   => 'job-to-post',
        'from' => [
            'object_type'  => 'post',
            'post_type'    => 'my-job',    
            'field' => [
                'field_type' => 'select'
            ]    
        ],
        'to'   => [
            'object_type'  => 'post',
            'post_type'    => 'post',
            'field' => [
                'field_type' => 'checkbox_list'
            ]
        ],
    ] );
    }

    Please read more on the documentation https://docs.metabox.io/extensions/mb-relationships/#using-code
    https://docs.metabox.io/fields/post/

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