-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
Datetime not working for dayValues attribute #7190
Comments
Any Updates on this? |
Same issue here! |
Same issue! |
…exist When the current year does not exist in yearValues, it was disabling months when it shouldn’t - this commit fixes that so all of the months are enabled. Closes #7190
* fix(datetime): dayValues attribute fixes #7190 * fix(datetime): default to the first year if the current year doesn't exist When the current year does not exist in yearValues, it was disabling months when it shouldn’t - this commit fixes that so all of the months are enabled. Closes #7190 * fix(datetime): only set the year to the first option if yearCol exists
Thanks for the issue and sorry for the wait! This will be fixed in the
|
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. |
Short description of the problem:
DateTime not working when the dayValues attribute is added
What behavior are you expecting?
Should show the Date picker with the specified days
When using the dayValues attribute in something like this:
i get the error as:
Plunkr: http://plnkr.co/edit/RL5REAhfQdAoEdCjmLj3?p=preview
Which Ionic Version? 1.x or 2.x
2.0.0-beta.31
Plunker that shows an example of your issue
http://plnkr.co/edit/RL5REAhfQdAoEdCjmLj3?p=preview
Cordova CLI: 6.2.0
Gulp version: CLI version 3.9.1
Gulp local:
Ionic CLI Version: 2.0.0-beta.31
Ionic App Lib Version: 2.0.0-beta.17
ios-deploy version: Not installed
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v4.4.5
Xcode version: Xcode 7.3.1 Build version 7D1014
The text was updated successfully, but these errors were encountered: