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

Calendar is not updated according when props.value is changed #110

Closed
hkraymondhk opened this issue Sep 22, 2017 · 1 comment
Closed

Calendar is not updated according when props.value is changed #110

hkraymondhk opened this issue Sep 22, 2017 · 1 comment
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@hkraymondhk
Copy link

While the state is reset to default value, let's say, today (new Date()), and the calendar component persist in the previous value, selected date/empty.

@koverg70
Copy link
Contributor

koverg70 commented Oct 5, 2017

This is because the Calendar component InputText subcomponent receives the value in the defaultValue property. The easy fix is to use InputText value to pass the current value.

@cagataycivici cagataycivici self-assigned this Oct 12, 2017
@cagataycivici cagataycivici added the Type: Bug Issue contains a defect related to a specific component. label Oct 12, 2017
@cagataycivici cagataycivici added this to the 1.1.0 milestone Oct 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

3 participants