angular-datepicker icon indicating copy to clipboard operation
angular-datepicker copied to clipboard

Datepicker default time

Open goranvujanovic opened this issue 2 years ago • 4 comments

Hi, We use this project for a long time but we need a feature to set default time in date-picker config. Currently, default time is current time but we would like to have possibility to set 00:00 as default. image

goranvujanovic avatar May 24 '23 11:05 goranvujanovic

This could be related to the issue #622

goranvujanovic avatar May 24 '23 11:05 goranvujanovic

Can you please create a stackblitz of the issue?

vlio20 avatar May 25 '23 06:05 vlio20

Can you please create a stackblitz of the issue?

I am not sure what exactly I need to add to Stackblitz. I can add simple angular app with date-picker and how a new property should be used.

goranvujanovic avatar May 25 '23 12:05 goranvujanovic

Yes please. It would help with QAing it So your intention is to have a date without actually having the value in the model itself? In the following example I have set the default date and time by providing the value to the form-control: https://stackblitz.com/edit/angular-ivy-mdqo8y?file=src%2Fapp%2Fhello.component.ts

vlio20 avatar May 25 '23 14:05 vlio20