You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
problems comes when i am return observable and i want to cancel by returning switchMap or for any condition or return false or null upload process continue, means returning observable acutely it's not doing any thing only to keep upload async.
What is expected?
the return type must be valid otherwise will not process uploading the file.
What is actually happening?
I think this part is missing to check boolean returned from observable as per the documentation i can return boolean or observable
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
lockbot
locked as resolved and limited conversation to collaborators
Sep 21, 2019
hsuanxyz
pushed a commit
to hsuanxyz/ng-zorro-antd
that referenced
this issue
Aug 5, 2020
Version
1.5.0
Environment
Angular 6
Reproduction link
https://ng-zorro-antd-start-2cy3cn.stackblitz.io
https://stackblitz.com/edit/ng-zorro-antd-start-2cy3cn
Steps to reproduce
problems comes when i am return observable and i want to cancel by returning switchMap or for any condition or return false or null upload process continue, means returning observable acutely it's not doing any thing only to keep upload async.
What is expected?
the return type must be valid otherwise will not process uploading the file.
What is actually happening?
I think this part is missing to check boolean returned from observable as per the documentation i can return boolean or observable
ng-zorro-antd/components/upload/nz-upload-btn.component.ts
Line 133 in 69ff576
here my suggestion fix for this issue.
Other?
The text was updated successfully, but these errors were encountered: