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

Cant seem to get selectData to work #1

Open
DavidCarl opened this issue Sep 28, 2018 · 7 comments
Open

Cant seem to get selectData to work #1

DavidCarl opened this issue Sep 28, 2018 · 7 comments

Comments

@DavidCarl
Copy link

Hello

I tried to use selectData to get custom start time to work, but it for some reason it does nothing for me.

I included a snippet of how I set it up.

$('#picker-start').dateTimePicker({ positionShift: { top: 0, left: 0 }, title: "Select Date and Time", buttonTitle: "Select", selectData: "2018-09-25 08:06", });

Anything you seem to be misplaced?

Thanks in advance :)

@quantumwebco
Copy link

Yeah I had this issue as well. Looks like this plugin is not maintained and isn't fully working. I'd find a different plugin if I were you!

@DavidCarl
Copy link
Author

I actually got it working and forgot all of this issue.... Anything you need help to do aswell?

@quantumwebco
Copy link

Nah, don't worry, the plugin is not maintained and is lacking some key features for me. I'll just use a vanilla solution or write my own. Thanks!

@Haegge
Copy link

Haegge commented Mar 1, 2020

I actually got it working and forgot all of this issue.... Anything you need help to do aswell?
@DavidCarl

Could you remember how you got it to work? The Plugin fits perfect to my needs, only the selectData Problem is drivin me nuts.

Thanks in Advance :)

@DavidCarl
Copy link
Author

DavidCarl commented Mar 1, 2020

Could you remember how you got it to work? The Plugin fits perfect to my needs, only the selectData Problem is drivin me nuts.

Thanks in Advance :)

I cannot remember on top of my head, but im pretty sure I got the source code somewhere. I will take a look around :)

@DavidCarl
Copy link
Author

DavidCarl commented Mar 1, 2020

If its about setting a start time past the current time im pretty sure this was the solution.

Out comment the lines I did.

It was my CS internship project I did at the company I work at. If that isn't what you meant to do I am not sure what you want to achieve.

It also seems that #4 might be a better solution for my fix.

@Haegge
Copy link

Haegge commented Mar 1, 2020

Thank you very much, that did it for me. It was obvious but couldn't see the forest for the trees.

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

3 participants