我正在尝试根据选择的 minDate 值设置 maxDate 值。这个想法是您可以选择过去的任何一天作为 minDate,但 maxDate 必须等于 minDate 加上 15 天。
我的 html 中有这个
```<input type="text" ngxDaterangepickerMd formControlName="pick_dates"
class="form-control" placeholder="{{'list.select' | translate}}"
[minDate]='minDate'
[maxDate]='maxDate' [timePicker]="true" [locale] = "locale"/>```
有没有办法在发送 pick_dates 表单之前选择 minDate 值?
我希望是这样的:在我的 html 中有这个
```<input type="text" ngxDaterangepickerMd formControlName="pick_dates"
class="form-control" placeholder="{{'list.select' | translate}}"
[minDate]='minDate'
[maxDate]='minDate'+15 days
[timePicker]="true" [locale] = "locale"/>```