Skip to content
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

The formattedDate variable in moment-picker="formattedDate" is not set up after run. #277

Open
lucius-pl opened this issue Oct 18, 2018 · 1 comment

Comments

@lucius-pl
Copy link

The formattedDate variable in moment-picker="formattedDate" is not set up after run although the date variable in ng-model="date" is initiated by the moment object. The formattedDate is undefined in this case. The formattedDate is set up only if a date has been changed in angular-moment-picker.
The formattedDate should be set up also, since ng-model is set up and formatted date is presented in input text box.

Plunker: https://plnkr.co/edit/WKghIjNS0e4tj4gbz6YF?p=preview

Thank you.

@MadChadJack
Copy link

I'm not exactly sure what you're trying to say, but setting anything to the moment-picker does not work in my experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants