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(module:cascader): support falsy value expect for undefined and null #4119

merged 2 commits into from Sep 6, 2019


Copy link

commented Sep 5, 2019

close #4110

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: #4110

What is the new behavior?

Value could be falsy value expect for undefined and null.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@pr-triage pr-triage bot added the PR: unreviewed label Sep 5, 2019
@auto-assign auto-assign bot requested a review from vthinkxie Sep 5, 2019

This comment has been minimized.

Copy link

commented Sep 5, 2019

Deploy preview for ng-zorro-master ready!

Built with commit 4ccfc53

Copy link

left a comment

Add a test case?


This comment has been minimized.

Copy link

commented Sep 5, 2019

Codecov Report

Merging #4119 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4119   +/-   ##
  Coverage   92.32%   92.32%           
  Files         506      506           
  Lines       10761    10761           
  Branches     1952     1952           
  Hits         9935     9935           
  Misses        407      407           
  Partials      419      419
Impacted Files Coverage Δ
components/cascader/nz-cascader.service.ts 96.7% <100%> (ø) ⬆️

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 b7c7f8f...4ccfc53. Read the comment docs.


This comment has been minimized.

Copy link
Member Author

commented Sep 5, 2019

Add a test case?

Will be covered in spec should write value work.

@hsuanxyz hsuanxyz merged commit 0cb44ac into NG-ZORRO:master Sep 6, 2019
6 of 9 checks passed
6 of 9 checks passed
Header rules No header rules processed
Pages changed 1 new file uploaded
Redirect rules No redirect rules processed
CodeFactor 1 issue fixed. 1 issue found.
Mixed content No mixed content detected
codecov/patch 100% of diff hit (target 92.32%)
codecov/project 92.32% (+0%) compared to b7c7f8f
continuous-integration/travis-ci/pr The Travis CI build passed
deploy/netlify Deploy preview ready!
@pr-triage pr-triage bot added PR: merged and removed PR: reviewed-approved labels Sep 6, 2019
@wendzhue wendzhue deleted the wendzhue:cascader-falsy-value branch Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.