Custom Fields
Re-Envisioned
Support General Taxonomy Advanced field with ajax?

  • Creator
    Topic
  • #15534
    Resolved paul.fedorov@gmail.com
    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…

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • #15540
    Anh 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 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

    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 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

    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 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 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.