Calendar time picking doesn't work with range or multiple selection #4705
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
There is no guarantee in receiving a response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeNG PRO Support where support is provided within 4 business hours
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
Please fork the plunkr below and create a case demonstrating your bug report. Issues without a plunkr have much less possibility to be reviewed.
http://plnkr.co/edit/IPO9mNnEnWcXGYusgBtG?p=preview
Current behavior
The calendar component doesn't support multiple or range selection and showTime=true. When the user tries to select the time there is a JS error because the time handling code can't handle the case when
this.value
is array.Expected behavior
The calendar should support time picking in multiple and range selection.
Minimal reproduction of the problem with instructions
Steps to reproduce
selectionMode
is set to eitherrange
ormultiple
. SetshowTime
totrue
.What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Language: [all | TypeScript X.X | ES6/7 | ES5]
Node (for AoT issues):
node --version
=The text was updated successfully, but these errors were encountered: