Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendar: Manual Input breaking with dd M yy date format #7675

Open
abhikarsh-gupta opened this issue Feb 3, 2025 · 0 comments
Open

Calendar: Manual Input breaking with dd M yy date format #7675

abhikarsh-gupta opened this issue Feb 3, 2025 · 0 comments
Labels
Type: Bug Issue contains a defect related to a specific component.

Comments

@abhikarsh-gupta
Copy link

Describe the bug

When trying to manually update the date or time from the input field, the value being returned by the component is null. Date format in use : dd M yy

Reproducer

https://stackblitz.com/edit/9jegtwca-hgwjmdvy?file=src%2FApp.jsx

System Information

System:
    OS: macOS 15.1
    CPU: (8) arm64 Apple M3
    Memory: 418.03 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.7.0 - /opt/homebrew/bin/node
    npm: 10.8.2 - /opt/homebrew/bin/npm
    pnpm: 9.3.0 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 132.0.6834.160
    Safari: 18.1
  npmPackages:
    primereact: 10.8.0 => 10.8.0 
    react: 18.3.1 => 18.3.1 
    tailwindcss: 3.4.7 => 3.4.7

Steps to reproduce the behavior

use the demo link and then,

  1. choose any date
  2. try changing the date/time from the input field
  3. the component breaks

Expected behavior

The component should return the current value from the input in the onChange function, along with appropriate updates in calendar panel

@abhikarsh-gupta abhikarsh-gupta added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 3, 2025
@melloware melloware added Type: Bug Issue contains a defect related to a specific component. and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

2 participants