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

setState when new date prop is received #93

Merged
merged 1 commit into from
Mar 20, 2017
Merged

Conversation

ddeanto
Copy link

@ddeanto ddeanto commented Mar 2, 2017

When I open the datepicker it opens up to the current date/time on the calendar even though the display string is some other datetime I passed it. This is because redux initially passes null as the date prop, but, after some time passes an actual date string - however, when it passes the actual date string the datepicker component doesn't update the state for date.

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.0%) to 95.789% when pulling 3fa7891 on ddeanto:master into 1b2aef9 on xgfe:master.

@feyy
Copy link
Contributor

feyy commented Mar 20, 2017

Wonderful! Thanks!

@feyy feyy merged commit 7d78554 into xgfe:master Mar 20, 2017
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

Successfully merging this pull request may close these issues.

3 participants