-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Status: Needs TriageIssue will be reviewed by Core Team and a relevant label will be added as soon as possibleIssue will be reviewed by Core Team and a relevant label will be added as soon as possible
Description
Describe the bug
Calendar: The Calendar should block unnecessary or invalid characters. Screenshot attached.
Reproducer
No response
System Information
System:
OS: Windows 11 10.0.26100
CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
Memory: 929.05 MB / 15.41 GB
Binaries:
Node: 22.21.1 - C:\Program Files\nodejs\node.EXE
npm: 10.9.4 - C:\Program Files\nodejs\npm.CMD
pnpm: 10.15.0 - C:\Users\AkshayAntony\AppData\Roaming\npm\pnpm.CMD
Browsers:
Chrome: 144.0.7559.133
Edge: Chromium (140.0.3485.54)
Firefox: 147.0.1 - C:\Program Files\Mozilla Firefox\firefox.exe
Internet Explorer: 11.0.26100.1882
npmPackages:
react: 18.3.1 => 18.3.1Steps to reproduce the behavior
- Go to https://primereact.org/calendar/#basic
- Try choosing a date.
- Try updating the input box with unnecessary characters as shown in screenshot.
- The input box accepts the characters.
Expected behavior
The input box in Calendar component shouldn't accept unnecessary characters.
Should Intercept letters and other invalid characters before they're inserted.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Status: Needs TriageIssue will be reviewed by Core Team and a relevant label will be added as soon as possibleIssue will be reviewed by Core Team and a relevant label will be added as soon as possible