nebular icon indicating copy to clipboard operation
nebular copied to clipboard

Feature Request for timepicker min/max hour and steps for minutes

Open Echtelion opened this issue 3 years ago • 0 comments

Issue type

  • feature request

Issue description

I would like to lower the amount of scrolls in this control, thus easing the task for the customer

Current behavior: Currently, all 24 hours are displayed, while in most case I will only allow 7-22 as selectable (business hours) Same with minutes, I don't need that precision for an agenda, and a 5 min steps will be enough (0,5,10,15,20, etc)

Expected behavior: I would like to add new attributes to the nb-timepicker :

  • minHour (default 0), maxHour (default 23), alternatively it could be a minimum and maximum HH;mm logic
  • stepMinute (default 1)
  • optionally, add the same step logic for seconds : stepSecond (default 1)

Angular, Nebular Currently on latest nebular version (9.0.3), and angular 14

Thanks

Echtelion avatar Aug 26 '22 12:08 Echtelion