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

feat(slider, numberinput): add onKeyUp callback prop for input #11230

Merged

Conversation

tay1orjones
Copy link
Member

@tay1orjones tay1orjones commented Apr 13, 2022

Closes #11177
Closes #7039

This adds onKeyUp callback function props to Slider and NumberInput allowing users to validate and consistently disallow non-numeric characters from being entered cross-browser.

Changelog

New

  • Add onKeyUp callback prop for Slider and NumberInput

Testing / Reviewing

  • Ensure the callback fires appropriately and is listed in the storybook prop tables

@tay1orjones tay1orjones requested a review from a team as a code owner April 13, 2022 21:20
@netlify
Copy link

netlify bot commented Apr 13, 2022

Deploy Preview for carbon-components-react ready!

Name Link
🔨 Latest commit f1c642d
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-react/deploys/62618637097b0d000948526f
😎 Deploy Preview https://deploy-preview-11230--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 Apr 13, 2022

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit f1c642d
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/62618637ceebc60008e8ed1a
😎 Deploy Preview https://deploy-preview-11230--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.

@tay1orjones tay1orjones enabled auto-merge (squash) April 21, 2022 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants