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
{{ message }}
Repository navigation
[Ionic4-beta.6] Datetime restrictions based on maxDate do not update while modal is open #15452
Describe the Bug
The fields in the selector do not update while the popup is open when a max value is set.
Example: max value is 15.09.2018 (dd.MM.yyyy), so only 1-15d in month 9, 1-9m in year 2018 should be able to be selected, while in other months all days, and in other years all months should be available for selection. Change the year to 2017, fields do not update and month is still only 1-9 available. Accept the date, reopen the modal and you can select all months.
Day is completely ignored there are always 31 days available for every month.
Steps to Reproduce
Steps to reproduce the behavior:
create datetime with maxDate set.
open modal
change date around to a date where there should be more selectable options based on maxDate restriction.
restriction did not update
accept date
reopen modal, restrictions did update
Expected Behavior
Restrictions update while selecting date.
Thanks for the issue! I’ve added this to issue #16630 to keep track of. We’re going to close out the individual issues and address all of the Datetime issues at once. We’re not forgetting about your issue, just trying to keep them all together.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Activity
paulstelzer commentedon Dec 4, 2018
Does this issue still exist in
beta.17?gregor-srdic commentedon Dec 5, 2018
I am also experiencing this issue in 4.0.0-beta.17
paulstelzer commentedon Dec 5, 2018
Thanks for your response and confirming it. I already added it as bug, so it should fixed until the v4 release :)
shomid commentedon Jan 9, 2019
I have also this issue in 4.0.0-rc-0
liamdebeasi commentedon Feb 12, 2019
Hi there,
Thanks for the issue! I’ve added this to issue #16630 to keep track of. We’re going to close out the individual issues and address all of the Datetime issues at once. We’re not forgetting about your issue, just trying to keep them all together.
Thanks for using Ionic!
ionitron-bot commentedon Mar 14, 2019
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.