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

Fix input field clear #990

Merged
merged 4 commits into from
Apr 12, 2020
Merged

Fix input field clear #990

merged 4 commits into from
Apr 12, 2020

Conversation

ntlf
Copy link

@ntlf ntlf commented Feb 18, 2020

typedValue: undefined could cause controlled/uncontrolled error since input's value calculation was changed in #816

If we set typedValue: '' then the input stays controlled, and we can clear the field correctly by setting empty string as value.

Closes #977 #955

@ntlf ntlf requested a review from gpbl February 18, 2020 11:49
@kimyu92
Copy link

kimyu92 commented Feb 21, 2020

@gpbl can you review this?

@EsdrasXavier
Copy link

@gpbl Can you please review and accept it? I really need this for my current project and this will help a lot. Please review it!!

@andrewmmc
Copy link

May I know the review progress? Thank you!

@SCHUGRWS
Copy link

Please, @gpbl, can you or someone else review it? I really need it working to solve a issue in my project.

@Arcticroman
Copy link

Hi @gpbl , could you please review this pr?
Thank you, have a nice day)

@rhahne
Copy link

rhahne commented Mar 26, 2020

Hey @gpbl, would be great if this PR gets merged soon, thanks!

@sousajunior
Copy link

@gpbl can you review this? please!

@gpbl gpbl added high This issue has a high priority in progress Work in Progress bug Bug or Bug fixes testing Adding missing tests or correcting existing tests labels Apr 12, 2020
@gpbl gpbl linked an issue Apr 12, 2020 that may be closed by this pull request
@gpbl gpbl merged commit 74e6be3 into gpbl:v7 Apr 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug or Bug fixes high This issue has a high priority in progress Work in Progress testing Adding missing tests or correcting existing tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot Clear Dates on DayPickerInput in latest version (7.4.0^)
9 participants