Skip to content

DatePicker selectionMode="range" timing error #18479

@novakand

Description

@novakand

Describe the bug

DatePicker selectionMode="range" timing error

Image Unable to select time. Error in console

Pull Request Link

No response

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

https://stackblitz.com/edit/stackblitz-starters-5xjwudh9?file=src%2Fmain.ts

Environment

Angular 19

Angular version

19

PrimeNG version

v19

Node version

No response

Browser(s)

No response

Steps to reproduce the behavior

<p-datepicker [showTime]="true" selectionMode="range" /> Try specifying the time in this mode

Expected behavior

There should be no error. You can set the time

Metadata

Metadata

Labels

LTS-PORTABLEIssue's fix will be ported to supported LTS versionsType: BugIssue contains a bug related to a specific component. Something about the component is not working

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions