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

Not able to set initial state with custom time: "18:10" #191

Open
Santoshku8287 opened this issue Mar 26, 2020 · 1 comment
Open

Not able to set initial state with custom time: "18:10" #191

Santoshku8287 opened this issue Mar 26, 2020 · 1 comment

Comments

@Santoshku8287
Copy link

I am trying to set initial state in React application with custom date, which I passed from setState.
Its getting blank.

Please help to fix this asap.

@manishsaraan
Copy link

I am setting my custom time with moment set attribute.
defaultValue={moment().set('hour', 18).set('minute', 10)}

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