dalelotts / angular-bootstrap-datetimepicker

Native Angular date/time picker component styled by Twitter Bootstrap
http://dalelotts.github.io/angular-bootstrap-datetimepicker/
MIT License
1.28k stars 409 forks source link

when a date is already selected in input box, and user edit the same item then old dates can't be disabled #491

Closed nupurwl closed 2 years ago

nupurwl commented 2 years ago

What is the expected behavior?

What is the current behavior?

What are the steps to reproduce?

Providing a StackBlitz reproduction is the best way to share your issue.
You can fork the demo on StackBlitz: https://stackblitz.com/github/dalelotts/angular-bootstrap-datetimepicker-demo

Which versions of angular-bootstrap-datetimepicker, OS, TypeScript, browsers are affected?

Is there anything else we should know?

nupurwl commented 2 years ago

i am using this in my event management site. When user create an event then older dates are disabled, but on same form, when user edit the same event then older dates are not disabled.

dalelotts commented 2 years ago

Please fill out the bug template completely and post an example of this behavior.

It is not likely that this is a defect in this module, it is more likely a defect in the logic to disable the past dates.