We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<mat-datetimepicker #datetimePickerEnd type="datetime" [min]='minDate' openOnFocus="true" timeInterval="5" ></mat-datetimepicker>
Min date not working, however it works on md2. How am I able to get this to work?
Thanks
The text was updated successfully, but these errors were encountered:
Make sure the date is of the correct type moment/date. There are examples in the repository. #34
Sorry, something went wrong.
Is this still an issue or did you solve your problem?
Hi. Looks like I'm having the same issue. Everythings works great until i add [min]
The Angular error:
Can't bind to 'min' since it isn't a known property of 'mat-datetimepicker'. If 'mat-datetimepicker' is an Angular component and it has 'min' input, then verify that it is part of this module.
Can't bind to 'min' since it isn't a known property of 'mat-datetimepicker'.
My HTML `
<mat-datetimepicker-toggle [for]="datePicker" matSuffix></mat-datetimepicker-toggle> <mat-datetimepicker [min]="startDate" #datePicker type="date" openOnFocus="true"></mat-datetimepicker> <input matInput [matDatetimepicker]="datePicker" formControlName="DateBegin" required autocomplete="false" >
`
And in my component : startDate = moment();
startDate = moment();
I'm currently using the 2.0.1 version.
@stephanec I think it has to be applied to the input field not the mat-dattimepicker field
kuhnroyal
No branches or pull requests
Min date not working, however it works on md2. How am I able to get this to work?
Thanks
The text was updated successfully, but these errors were encountered: