Calendar: Error if using datatype string with selectionMode="range" and keepInvalid=true #12722
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
The error
occurs if using Calendar component with the above mentioned properties and typing an invalid string into the input field.
example:
Environment
Windows 10 x64
Chrome 110.0.5481.104 64bit
Reproducer
https://stackblitz.com/edit/github-erwier?file=src/app/app.component.ts
Angular version
15.2.1
PrimeNG version
15.2.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
v18.14.0
Browser(s)
Chrome 110.0.5481.104 64bit
Steps to reproduce the behavior
Expected behavior
No error thrown if changing the value although invalid
The text was updated successfully, but these errors were encountered: