Open mukuljai opened 2 years ago
I am facing a similar issue where multiple datepicker are used and after changing one date, alle the hours, minutes, seconds of the other dates are set to now
(the moment of initializing the datepicker). All Date objects have midnight UTC as time (hours, minutes, seconds all 0) on initializing the form, but after one change, alle hours, minutes and seconds are replaced.
@daniloff200 this change https://github.com/valor-software/ngx-bootstrap/pull/5701 is actually causing issue where if datetiepicker used along with ngModel it replaces the initial input date with current date. To pin point the issue in code here -
Why need to have current date fixed in lib, why it cant be provided as input if required?
Originally posted by @mukuljai in https://github.com/valor-software/ngx-bootstrap/issues/5701#issuecomment-895272330