Required fields are not working with taxonomies

Support General Required fields are not working with taxonomies

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #40024
    Alaan TVAlaan TV
    Participant

    When creating some custom fields to a custom taxonomy and setting some of them as 'required' => true, I can still add new terms even if these fields are blank.

    I tested that with file_advanced fields.

    #40026
    PeterPeter
    Moderator

    Hello,

    It is expected behavior of this feature in the new version of Meta Box. You can add a new term even do not select any terms, the new term will be assigned to the post (object) after publishing/updating the post.

    #40030
    Alaan TVAlaan TV
    Participant

    Thank you, Peter! But it seems you misunderstood me.

    This happens when I create a new term, not when I add a term to the post. The custom taxonomy has a required field, so I'm expecting to get a warning before creating the new term that stops the creation procedure. But what happens is the term is being created even when the required field is blank.

    Here's how to reproduce the issue:

    Try to create a new custom taxonomy MY_TAXONOMY, then create some fields for it and make one of them required. Then visit this page:

    example.com/wp-admin/edit-tags.php?taxonomy=MY_TAXONOMY

    Now try to add a new term without filling in the required field; the term will be added directly without warnings or stopping the creation procedure.

    #40033
    PeterPeter
    Moderator

    Ah thanks, I got the issue and I've escalated this to the development team to fix it in the next update of the plugin.

    #40325
    Alaan TVAlaan TV
    Participant

    Any expected date to release this fix?

    2 releases were rolled out after this ticket was opened, and none included a fix for this issue.

    #40690
    Alaan TVAlaan TV
    Participant

    A gentle reminder, any expected date to release the fix, please?

    #40710
    PeterPeter
    Moderator

    Hello,

    Not yet, I will let you know when it is fixed. Thanks.

    #41782
    Alaan TVAlaan TV
    Participant

    A gentle reminder!

    #42651
    Alaan TVAlaan TV
    Participant

    Any updates, please!

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