Skip to content

/deadline and /scheduled commands ignore datepicker #1041

Open

Description

@luxebenen

Search first

  • I searched and no similar issues were found

What Happened?

When using the /deadline or /scheduled commands in a block, the date selected in the date picker that appears is ignored when the date is selected with arrow keys + enter. When a date is selected with the keyboard, the actual value is always set to today's date. When a date is selected with the mouse, the actual chosen date is used.

Additionally, the datepicker does not close after selecting a date. It stays open, both when selecting with keyboard as well as when selecting with mouse.

Other date-type-properties do automatically close when selecting a date with a mouse, but also do not work when selecting a date with keyboard.

Reproduce the Bug

  1. Enter the /deadline or /schedule commands in a block
  2. Select a date (not today) with the arrow keys on the keyboard, press enter
  3. Scheduled/Deadline property appears, set to today's date, in stead of selected date in datepicker.
  4. Edit the date, select date with mouse
  5. Date is set, but datepicker stays open
  6. Edit the date, select date with keyboard
  7. Date is set but immediately reverts to old value, and datepicker stays open.

Expected Behavior

Date picker should always fill in selected date as picked in datepicker, when using mouse or keyboard or any other input method.

Screenshots

Image Image

Today == 2026-08-03

Addition 2026-08-06: Demo of trying to select scheduled/deadline + two custom date properties with keyboard and mouse.

https://youtu.be/7tkKo5nOBVw

Files

No response

Browser, Desktop or Mobile Platform Information

Windows 11
Logseq 2.0.1 revision b09316a

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

Activity

  1. yuxi-liu-wired commented on Oct 27, 2026

    @yuxi-liu-wired

    Fixed in logseq/logseq#13890 (fix(editor): collapse arrow, ordered-list Backspace, date picker Enter and selection bar actions). Its description has the cause and the test that pins it; it fails on current master and passes with the fix.

  2. added 5 commits that reference this issue on Oct 28, 2026
    a16fa25
    9a68d1b
    5fbde50
    09f3498
    7098d1e
  3. added 9 commits that reference this issue on Nov 11, 2026
    47be7b2
    a41dc86
    c0d62a5
    957a503
    f9990ac
    f1771f4
    33c780d
    8409775
    0014c0b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions