react-kronos icon indicating copy to clipboard operation
react-kronos copied to clipboard

Default start time

Open schuchowsky opened this issue 7 years ago • 3 comments

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.

schuchowsky avatar Jun 22 '17 17:06 schuchowsky

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

felixakiragreen avatar Jun 22 '17 18:06 felixakiragreen

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.

schuchowsky avatar Jun 22 '17 21:06 schuchowsky

I need to set default time too :(

AppliKey avatar Sep 12 '17 11:09 AppliKey