Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Default start time #59

Open
schuchowsky opened this issue Jun 22, 2017 · 3 comments
Open

Default start time #59

schuchowsky opened this issue Jun 22, 2017 · 3 comments

Comments

@schuchowsky
Copy link

I've been using react-kronos and it's working really well on my project.

But I've just got a request from my client, to make all time inputs start by default at 8am.

Is there an option for it, or could be something easy to implement?

Thanks and regards.

@felixakiragreen
Copy link
Owner

I would set the time to 8am when you initialize the component.

@schuchowsky
Copy link
Author

You mean the value I pass to it? I couldn't because I need to validate if the field wasn't informed.

What I thought was an option to set the default time when opening the dropdown, but still with it's value empty.

@AppliKey
Copy link

I need to set default time too :(

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

No branches or pull requests

3 participants