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 issue #47 - Don't allow e character in input[number] #56

Merged
merged 1 commit into from
Sep 27, 2018

Conversation

eugeniakaramanou
Copy link
Collaborator

This PR fixes the issue #47 about the 'e' character on input[type=number].
More info can be found here https://stackoverflow.com/questions/31706611/why-does-the-html-input-with-type-number-allow-the-letter-e-to-be-entered-in

@40818419
Copy link
Owner

would you mind to add tests for E_KEY?

@codecov
Copy link

codecov bot commented Sep 27, 2018

Codecov Report

Merging #56 into master will increase coverage by 0.16%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #56      +/-   ##
==========================================
+ Coverage   95.52%   95.68%   +0.16%     
==========================================
  Files           2        2              
  Lines         134      139       +5     
  Branches       36       38       +2     
==========================================
+ Hits          128      133       +5     
  Misses          6        6
Impacted Files Coverage Δ
src/ReactCodeInput.js 95.55% <100%> (+0.17%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a4f19fd...4775818. Read the comment docs.

@40818419
Copy link
Owner

LGTM!

@40818419 40818419 merged commit 3784b13 into master Sep 27, 2018
@40818419 40818419 deleted the Issue#47-block-character-e branch September 27, 2018 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants