-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Emit onChange with null when DateInput is empty #524
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we get a unit test? 🥁
f064ada
to
ff75b3d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would've liked the tests refactor as a separate PR but oh well, looks good!
can we have it return |
@adidahiya i was wondering the same thing! ☁️
i think it should wait for |
i mainly followed the convention from |
Fixes #504, Fixes #546
Changes proposed in this pull request:
null
as the date argument in DateInput'sonChange
handler