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

how to set default date #31

Closed
flyher opened this issue Jun 2, 2015 · 5 comments
Closed

how to set default date #31

flyher opened this issue Jun 2, 2015 · 5 comments

Comments

@flyher
Copy link

flyher commented Jun 2, 2015

hi,
i set default date:
$scope.date="2012-09-09"

and when i open this html,it cannot show the calender about 2012,Sep ‘s,well ,i think you can add an option to decide the date when it begin,not the date of now.up to user!

@mobinni
Copy link
Owner

mobinni commented Jun 2, 2015

good idea, but you should adjust that yourself, for the time being I have my hands full

@mobinni
Copy link
Owner

mobinni commented Jun 2, 2015

If I have time I'll definitely implement it

@flyher
Copy link
Author

flyher commented Jun 3, 2015

Thank you~~~
and
i have an another problem.

if i use ng-model to init the default date,it can not be set when i open the html.
Do you have any idea to solve it? 3ks

@mobinni
Copy link
Owner

mobinni commented Jun 3, 2015

Because you cannot use ng-model you have to use < date="date"> date in this case is your scope variable :p then you set that to a value in your controller and done

@mobinni mobinni closed this as completed Jun 3, 2015
@flyher
Copy link
Author

flyher commented Jun 3, 2015

Thank you very much~~~
:)

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