Can't delete a date

Support General Can't delete a date

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #45575
    Aaron KesslerAaron Kessler
    Participant

    If I use the datetime field, I can set a date, but I can't delete it afterwards

    The field definition looks like this:

    $fields[] = [
      'title'      => __('Date-Fields', NAME_SPACE),
      'post_types' => ['page'],
      'fields'     => [
        [
          'name'       => __('End-Date', NAME_SPACE),
          'id'         => PREFIX . 'event_end_time',
          'type'       => 'datetime',
          'size' => 27,
          'js_options' => [
            'controlType'     => 'slider',
            'showButtonPanel' => false,
          ],
          'inline'     => true,
          'timestamp'  => true,
          'required'   => false,
        ],
      ],
    ];
    #45584
    PeterPeter
    Moderator

    Hello,

    I try to reproduce the issue on the demo site but don't see that. I can set a date, save post and delete it as well. You can try to deactivate all plugins except Meta Box, MB extension plugin, switch to a standard theme of WordPress and check the issue again.

    #45590
    Aaron KesslerAaron Kessler
    Participant

    I switched the theme to twentytwentyfour, deactivated all plugins except Meta Box and installed the code snippets plugin in order to run my fields. The issue still persists

    I uploaded a demo video on youtube: https://youtu.be/PA-6gau6ZDg, a higher resolution should be available soon.

    #45596
    PeterPeter
    Moderator

    Please share your site admin account by submitting this contact form https://metabox.io/contact/
    I will take a look.

    #45599
    Aaron KesslerAaron Kessler
    Participant

    It's local, but I created a test site on instaWP, and send you the credentials.

    #45606
    PeterPeter
    Moderator

    Hello,

    I see the issue happens when both settings inline and timestamp are set to true. You can remove one of them to fix the issue.

    'inline'     => true,
    'timestamp'  => true,
    #45609
    Aaron KesslerAaron Kessler
    Participant

    I don’t see why i should do so. Is there a reason why this should not work? What’s about fixing this in an upcoming version of Meta Box?

    #45614
    PeterPeter
    Moderator

    I've escalated this issue to the development team to fix it. The fix will be included in the next update of Meta Box.

    Thank you.

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