Required attribute doesn't work on image field

Support General Required attribute doesn't work on image field

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13751
    woorisewoorise
    Participant

    I have set the following field but the "required" doesn't work. I'm able to update post without upload an image.

    [
        'name' => esc_html__( 'Logo', 'text' ),
        'id' => '_logo',
        'type' => 'image',
        'force_delete' => true,
        'max_file_uploads' => 1,
        'required' => true,
    ],
    #13772
    Anh TranAnh Tran
    Keymaster

    It's fixed here and will be available in the new version soon.

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