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(DatePicker): onChange callback not being called #13774

Merged

Conversation

kaiodealmeida
Copy link
Contributor

@kaiodealmeida kaiodealmeida commented May 9, 2023

Closes #13726

  • add undefined as useSavedCallback param type and remove arrow func param

Changelog

Changed

  • add undefined as useSavedCallback @param type and remove arrow function as argument of useSavedCallback

Testing / Reviewing

  • Check the console to see the the Date on this Date Picker changing on the link below. This is the expectate behavior of the opened issue.

Chromatic Deploy

add undefined as useSavedCallback param type and remove arrow func param
@kaiodealmeida kaiodealmeida requested a review from a team as a code owner May 9, 2023 15:18
@github-actions
Copy link
Contributor

github-actions bot commented May 9, 2023

DCO Assistant Lite bot All contributors have signed the DCO.

@kaiodealmeida
Copy link
Contributor Author

I have read the DCO document and I hereby sign the DCO.

@netlify
Copy link

netlify bot commented May 9, 2023

Deploy Preview for carbon-components-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 850ae88
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-react/deploys/645e364abacb9300087c2352
😎 Deploy Preview https://deploy-preview-13774--carbon-components-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented May 9, 2023

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 850ae88
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/645e364aeca3df0008305187
😎 Deploy Preview https://deploy-preview-13774--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@tw15egan
Copy link
Collaborator

tw15egan commented May 9, 2023

@kaiodealmeida I think you just need to run yarn format from root and commit the changes 👍

@kaiodealmeida
Copy link
Contributor Author

@kaiodealmeida I think you just need to run yarn format from root and commit the changes 👍

It's done!

@kodiakhq kodiakhq bot merged commit fc86201 into carbon-design-system:main May 12, 2023
tay1orjones pushed a commit to tay1orjones/carbon that referenced this pull request May 12, 2023
…stem#13774)

* fix: onChange callback not being called

add undefined as useSavedCallback param type and remove arrow func param

* fix(DatePicker): fix code format with prettier

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
@tay1orjones tay1orjones mentioned this pull request May 12, 2023
@tay1orjones
Copy link
Member

v11.29.1 was just published containing this fix.

SunnyJohal pushed a commit to SunnyJohal/carbon that referenced this pull request May 23, 2023
…stem#13774)

* fix: onChange callback not being called

add undefined as useSavedCallback param type and remove arrow func param

* fix(DatePicker): fix code format with prettier

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: DatePicker onChange callback not being called
4 participants