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
I think this is a common use case, to have two datepickers linked for a startdate and endate. In my case I'd like to update the 2nd one to have a min date based on the selection of the first. So I have it set up like this:
I think this is a common use case, to have two datepickers linked for a startdate and endate. In my case I'd like to update the 2nd one to have a min date based on the selection of the first. So I have it set up like this:
<input id="endDate" name="endDate" [(ngModel)]="endDate" materialize="pickadate" (ngModelChange)="endDateChange()" [materializeActions]="endActions" [materializeParams]="[endOptions]" type="text" />
then when startDateChange() is called from first datepicker, I do something like this:
after this is called, the new min-date is not updated on the endDate datepicker. Am I doing this wrong?
The text was updated successfully, but these errors were encountered: