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
In component: public minDate = moment().format('YYYY/MM/DD');
In html: <DatePickerField [minDate]="minDate"> </DatePickerField>
I've also tried the following: <DatePickerField minDate="{{minDate}}"> </DatePickerField>
The demo works, but is not dynamic: <DatePickerField minDate="2021/06/01"> </DatePickerField>
I'm sure I'm doing something wrong, but not sure what I'm missing!
Note: I've also tried the following (but I assumed minDate accepted a string in the format: YYYY/MM/DD so I thought this wouldn't work anyway) public minDate = moment().toDate();
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Tns version 7.2.1
Angular version 8.2.0
In component:
public minDate = moment().format('YYYY/MM/DD');
In html:
<DatePickerField [minDate]="minDate"> </DatePickerField>
I've also tried the following:
<DatePickerField minDate="{{minDate}}"> </DatePickerField>
The demo works, but is not dynamic:
<DatePickerField minDate="2021/06/01"> </DatePickerField>
I'm sure I'm doing something wrong, but not sure what I'm missing!
Note: I've also tried the following (but I assumed minDate accepted a string in the format: YYYY/MM/DD so I thought this wouldn't work anyway)
public minDate = moment().toDate();
The text was updated successfully, but these errors were encountered: