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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(number-input): add check for manually entered invalid value #4817

Merged
merged 3 commits into from
Dec 5, 2019
Merged

fix(number-input): add check for manually entered invalid value #4817

merged 3 commits into from
Dec 5, 2019

Conversation

abbeyhrt
Copy link
Contributor

@abbeyhrt abbeyhrt commented Dec 4, 2019

Closes #2477

Adds check for if a user manually enters a value outside of the min/max range and displays invalidText if it does. I previously consulted with design to make sure that this was how we wanted that error to be expressed and they agreed with this approach 馃憤

Changelog

New

  • adds check for manually typed values

Testing / Reviewing

Go to NumberInput and type in a value above 100 and make sure the invalid text displays

@abbeyhrt abbeyhrt requested a review from a team as a code owner December 4, 2019 21:03
@ghost ghost requested review from asudoh and dakahn December 4, 2019 21:03
@netlify
Copy link

netlify bot commented Dec 4, 2019

Deploy preview for the-carbon-components ready!

Built with commit c89fd04

https://deploy-preview-4817--the-carbon-components.netlify.com

@netlify
Copy link

netlify bot commented Dec 4, 2019

Deploy preview for carbon-components-react ready!

Built with commit c89fd04

https://deploy-preview-4817--carbon-components-react.netlify.com

@netlify
Copy link

netlify bot commented Dec 4, 2019

Deploy preview for carbon-elements ready!

Built with commit c89fd04

https://deploy-preview-4817--carbon-elements.netlify.com

Copy link
Contributor

@asudoh asudoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 馃憤 - Thanks @abbeyhrt!

@asudoh asudoh merged commit fba393b into carbon-design-system:master Dec 5, 2019
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.

Number input not validating manually entered values
4 participants