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: Checkbox.Group onChange should not pass removed value #16392

Merged
merged 3 commits into from Apr 30, 2019

Conversation

@zombieJ
Copy link
Member

@zombieJ zombieJ commented Apr 30, 2019

馃 This is a ...

  • New feature
  • Bug fix
  • Site / document update
  • Component style update
  • TypeScript definition update
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

馃懟 What's the background?

fix #16376

馃挕 Solution

Register value for filter.

馃摑 Changelog

Fix Checkbox.Group onChange pass removed value.

鈽戯笍 Self Check before Merge

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed
@zombieJ zombieJ requested a review from ztplz Apr 30, 2019
@zombieJ zombieJ requested a review from afc163 Apr 30, 2019
@netlify
Copy link

@netlify netlify bot commented Apr 30, 2019

Deploy preview for ant-design ready!

Built with commit a54b1f7

https://deploy-preview-16392--ant-design.netlify.com

ztplz
ztplz approved these changes Apr 30, 2019
registeredValues: [...registeredValues, value],
}));
};
cancelValue = (value: string) => {
Copy link
Contributor

@ztplz ztplz Apr 30, 2019

绌轰竴琛 涓璧蜂簡

@netlify
Copy link

@netlify netlify bot commented Apr 30, 2019

Deploy preview for ant-design ready!

Built with commit 347ef7d

https://deploy-preview-16392--ant-design.netlify.com

@netlify
Copy link

@netlify netlify bot commented Apr 30, 2019

Deploy preview for ant-design ready!

Built with commit 1bdf54f

https://deploy-preview-16392--ant-design.netlify.com

@codecov
Copy link

@codecov codecov bot commented Apr 30, 2019

Codecov Report

Merging #16392 into master will decrease coverage by 0.05%.
The diff coverage is 91.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #16392      +/-   ##
==========================================
- Coverage   95.32%   95.26%   -0.06%     
==========================================
  Files         253      253              
  Lines        6780     6803      +23     
  Branches     1933     1974      +41     
==========================================
+ Hits         6463     6481      +18     
- Misses        316      321       +5     
  Partials        1        1
Impacted Files Coverage 螖
components/checkbox/Group.tsx 100% <100%> (酶) 猬嗭笍
components/checkbox/Checkbox.tsx 95.83% <88.23%> (-4.17%) 猬囷笍
components/_util/wave.tsx 85.57% <0%> (-2.89%) 猬囷笍

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 1a8d5f6...1bdf54f. Read the comment docs.

@zombieJ zombieJ merged commit 7a7aa65 into master Apr 30, 2019
29 of 31 checks passed
29 of 31 checks passed
@codecov[bot]
codecov/patch 91.66% of diff hit (target 95.32%)
Details
codebeat 6 issues resolved and 7 introduced
Details
@netlify[bot]
Header rules No header rules processed
Details
@netlify[bot]
Pages changed 211 new files uploaded
Details
Codacy/PR Quality Review Up to standards. A positive pull request.
Details
CodeFactor No issues found.
Details
LGTM analysis: JavaScript No new or fixed alerts
Details
License Compliance All checks passed.
Details
@netlify[bot]
Mixed content No mixed content detected
Details
@netlify[bot]
Redirect rules 18 redirect rules processed
Details
@semantic-pull-requests[bot]
Semantic Pull Request ready to be squashed
Details
@wip[bot]
WIP Ready for review
Details
ant-design.ant-design #ant design succeeded
Details
@buildsize[bot]
buildsize No change
Details
ci/circleci: compile Your tests passed on CircleCI!
Details
ci/circleci: dist Your tests passed on CircleCI!
Details
ci/circleci: lint Your tests passed on CircleCI!
Details
ci/circleci: setup Your tests passed on CircleCI!
Details
ci/circleci: test_dist Your tests passed on CircleCI!
Details
ci/circleci: test_dist_15 Your tests passed on CircleCI!
Details
ci/circleci: test_dom Your tests passed on CircleCI!
Details
ci/circleci: test_dom_15 Your tests passed on CircleCI!
Details
ci/circleci: test_es Your tests passed on CircleCI!
Details
ci/circleci: test_es_15 Your tests passed on CircleCI!
Details
ci/circleci: test_lib Your tests passed on CircleCI!
Details
ci/circleci: test_lib_15 Your tests passed on CircleCI!
Details
ci/circleci: test_node Your tests passed on CircleCI!
Details
ci/circleci: test_node_15 Your tests passed on CircleCI!
Details
@codecov[bot]
codecov/project 95.26% (-0.06%) compared to 1a8d5f6
Details
@netlify[bot]
deploy/netlify Deploy preview ready!
Details
security/snyk - package.json (paranoidjk) No manifest changes detected
@delete-merged-branch delete-merged-branch bot deleted the filter-checkbox-group branch Apr 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

3 participants