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

improve: split input from input-item #1225

Merged
merged 2 commits into from
Apr 27, 2017
Merged

improve: split input from input-item #1225

merged 2 commits into from
Apr 27, 2017

Conversation

silentcloud
Copy link
Contributor

First of all, thanks for your contribution! :-)

Please makes sure these boxes are checked before submitting your PR, thank you!

  • Make sure you follow antd's code convention.
  • Run npm run lint and fix those errors before submitting in order to keep consistent code style.
  • Rebase before creating a PR to keep commit history clear.
  • Add some descriptions and refer relative issues for you PR.

@mention-bot
Copy link

@silentcloud, thanks for your PR! By analyzing the history of the files in this pull request, we identified @pingan1927, @yiminghe and @paranoidjk to be potential reviewers.

@codecov
Copy link

codecov bot commented Apr 27, 2017

Codecov Report

Merging #1225 into master will increase coverage by 0.04%.
The diff coverage is 58.33%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #1225      +/-   ##
=========================================
+ Coverage   69.76%   69.8%   +0.04%     
=========================================
  Files         218     219       +1     
  Lines        4131    4150      +19     
  Branches     1218    1223       +5     
=========================================
+ Hits         2882    2897      +15     
- Misses       1248    1252       +4     
  Partials        1       1
Flag Coverage Δ
#rn 72.02% <ø> (ø) ⬆️
#web 67.52% <58.33%> (+0.1%) ⬆️
Impacted Files Coverage Δ
components/input-item/Input.web.tsx 55% <55%> (ø)
components/input-item/index.web.tsx 60.78% <75%> (+4.68%) ⬆️

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 07649b4...d47f754. Read the comment docs.

@@ -260,8 +182,6 @@ class InputItem extends React.Component<InputItemProps, any> {
name={name}
placeholder={placeholder}
onChange={this.onInputChange}
onBlur={this.onInputBlur}
onFocus={this.onInputFocus}
readOnly={!editable}
disabled={disabled}
/>
Copy link
Contributor

Choose a reason for hiding this comment

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

#189行clear无法触发。

@pingan1927 pingan1927 self-assigned this Apr 27, 2017
@pingan1927 pingan1927 merged commit ea4087e into master Apr 27, 2017
@pingan1927 pingan1927 deleted the split-input branch April 27, 2017 11:11
@pingan1927 pingan1927 restored the split-input branch April 27, 2017 11:11
@pingan1927 pingan1927 deleted the split-input branch April 27, 2017 11:11
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.

3 participants