Struggling with the problem in DatePicker component. Here is the simple test project: https://github.com/yardim/datepicker-test
Steps to reproduce:
asdInvalid dateInvalid date text and remove it from the inputActual result: it fires error
ERROR TypeError: Cannot read properties of undefined (reading 'setHours')
at copyTime (ngx-bootstrap-datepicker.js:2249)
at bsDatepickerReducer (ngx-bootstrap-datepicker.js:2310)
at ngx-bootstrap-mini-ngrx.js:12
at scanInternals.js:11
at OperatorSubscriber._next (OperatorSubscriber.js:9)
at OperatorSubscriber.next (Subscriber.js:31)
at observeOn.js:6
at QueueAction.<anonymous> (executeSchedule.js:3)
at QueueAction._execute (AsyncAction.js:53)
at QueueAction.execute (QueueAction.js:20)
Does anybody know any workaround how to fix that issue and prevent error? Many thanks in advance!