Taxonomy Advanced field with ajax?

Support General Taxonomy Advanced field with ajax?Resolved

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #15534
    paul.fedorov@gmail.com[email protected]
    Participant

    Hi!
    Is there any way to load taxonomies in taxonomy advanced field with ajax? It can be very frustrating on websites with large number of terms loading all at once as it is right now.

    I went through all documentation but couldn't find anything about ajax loading.

    p.s. ACF has it since about 2011...

    #15540
    Anh TranAnh Tran
    Keymaster

    Hi Paul,

    Thanks for your feedback. At the moment, the field taxonomy doesn't use ajax to load terms. I'll check ACF and see if I can make the change.

    #16066
    Anh TranAnh Tran
    Keymaster

    Hi Paul,

    This is done on Github (the ajax-post branch). Can you please try it before I release a new version:

    https://github.com/wpmetabox/meta-box/tree/ajax-post

    #16276
    paul.fedorov@gmail.com[email protected]
    Participant

    Thanks a lot!
    Check your latest release please, I can't understand why but ajax fields aren't working. We get 400 error as response for them, and all is fine with 'ajax' => false,

    #16281
    Anh TranAnh Tran
    Keymaster

    Hi Paul,

    Can you please post your code of the meta box here for me to check? I couldn't replicate the bug on my localhost.

    #16283
    paul.fedorov@gmail.com[email protected]
    Participant

    We got issues even with simpliest metaboxes, like this one

    [
            'name' => 'Пользователь',
            'id'   => 'user_id',
            'type' => 'user',
            'ajax' => false,
    ],

    it works only with ajax => false, With ajax enabled no user is found and there is error in console https://monosnap.com/file/J5md2FE1OMBzNqDI2jvle8Vp2c1QGd

    #16319
    Anh TranAnh Tran
    Keymaster

    Hi Paul, can you please send me a temporary admin account to check this? I can't replicate the bug on my localhost. It seems to be an edge case that I didn't think of.

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