You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 28, 2019. It is now read-only.
Hi,
I'm trying to use this great directive, but I'm facing a problem with the minDate option.
In a simple jQuery UI datePicker, when the minDate is after the selected date, if effect only the calendar when selecting the date.
See this example: http://jsfiddle.net/psifasim/7Ubd4/
In this example you can see that the minDate effects the datePicker when changing the date, but does not change the input value.
When using ui-date with a minDate which is after the date value - the date is being changed to the minDate - see an example with the same dates:
I have the following code:
div
input(ng-model="new_event_start", ui-date="{ minDate: today, maxDate: new_event_end }", required,type="text",placeholder="Event Start Date",id="start_date")
div
input(ng-model="new_event_end", ui-date="{ minDate: new_event_start || today }", type="text",required,placeholder="Event End Date",id="end_date")
Hi,
I'm trying to use this great directive, but I'm facing a problem with the minDate option.
In a simple jQuery UI datePicker, when the minDate is after the selected date, if effect only the calendar when selecting the date.
See this example: http://jsfiddle.net/psifasim/7Ubd4/
In this example you can see that the minDate effects the datePicker when changing the date, but does not change the input value.
When using ui-date with a minDate which is after the date value - the date is being changed to the minDate - see an example with the same dates:
http://jsfiddle.net/psifasim/7Ubd4/
This prevents me from using the minDate option.
Am I using it wrong or is it a bug?
The text was updated successfully, but these errors were encountered: