Skip to content

Calendar: Manual entry not possible if the entered date is the same as min date. #8304

@kp-sievon

Description

@kp-sievon

Describe the bug

When a minimum date is set, the date picker correctly allows selecting the minimum date via the calendar UI. However, if the same date is entered manually into the input field, it is rejected and the field clears itself.

In this example the minimum date is set to the next day from the current day (e.g. if today is 26.09 the min date is 27.09).
Image

Reproducer

No response

System Information

System:
    OS: macOS 26.0
    CPU: (10) arm64 Apple M2 Pro
    Memory: 98.88 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 24.7.0 - /opt/homebrew/bin/node
    npm: 11.5.1 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 140.0.7339.210
    Safari: 26.0
  npmPackages:
    primereact: 10.9.7 => 10.9.7 
    react: 19.1.1 => 19.1.1

Steps to reproduce the behavior

No response

Expected behavior

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Needs TriageIssue will be reviewed by Core Team and a relevant label will be added as soon as possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions