bootstrap-ui-datetime-picker icon indicating copy to clipboard operation
bootstrap-ui-datetime-picker copied to clipboard

minDate and maxDate don't work properly

Open mazavr opened this issue 9 years ago • 3 comments

I used DEMO page.

If you use "Today" button in both cases you may break the limitation minDate <= maxDate.

fromtogif

mazavr avatar Aug 24 '16 10:08 mazavr

Upon further investigation it appears that the ngModel is being set to undefined, but it aint in this component, but i think it is from the angular-ui datepicker (which is used by this component). It maybe worth trying to recreate a demo using the datepicker-popup angular-ui component, as i believe you can replicate it. If so, this will prove that it is the underlying component, not this one

Gillardo avatar Sep 19 '16 11:09 Gillardo

can't we directly use min-date in html and assign the date using $watch or ng-change ?

example:

RamChandraTeja avatar Jan 02 '17 10:01 RamChandraTeja

What is the state of play with this issue? Is it replicated with the original datepicker-popup from angular-bootstrap?

Gillardo avatar Jan 19 '17 09:01 Gillardo