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

Dynamic datetimepicker #209

Closed
reachtokish opened this issue Sep 8, 2017 · 1 comment
Closed

Dynamic datetimepicker #209

reachtokish opened this issue Sep 8, 2017 · 1 comment

Comments

@reachtokish
Copy link

My issue is I am appending input with datetimepicker and every time when I will append I need to create a object like this

$scope.picker2 = { date: new Date(), timepickerOptions: { min: new Date() }, datepickerOptions: { minDate: new Date() } }

so is there any plugin option or anything by which I dont need to create object everytime ?

@Gillardo
Copy link
Owner

Really you only need to pass a date, everything else is optional. You dont need to provide datepickerOptions or timepickerOptions

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