-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
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
Set min property dynamically #269
Comments
In order to change the configuration (and min is part of it) you need to pass a new reference to
here is a working stackblitz: https://stackblitz.com/edit/angular-3h4a7c |
The rule of showing the |
You can bind the value changes from 'Date from' to the displayDate attr on the 'Date to' input element. |
@miyolou yes, this would be a workaround tho. this feature has been implemented in 2.6.0, so this should work also in this scenario imo, but yes, for now I'm using displayDate as workaorund. |
@vlio20 using |
|
@dgroh, here is a better configuration: https://stackblitz.com/edit/angular-3h4a7c?file=app%2Fapp.component.ts There is still some issue with the min date in the "to" calendar. |
Thanks for your help |
resolved in 969eb01 |
Hi :) Could you solve the point 2 mentioned above?
There was no bug open for this issue. Shall I open one or is this on the track? |
Please open a new ticket. It should not be changed. Please put a new stackblitz there, with latest version |
How do I set the
min
property dynamically?I have a Date from and a Date to - The
min
of Date to must be the selected value of Date from I tried to achieve this by setting thecomponent.config.min
but nothing happens.This stackblitz demonstrates this: Change min date dynamically
The text was updated successfully, but these errors were encountered: