Skip to content

Re-initializing flowOptions breaks the upload #121

@tawsif-patel

Description

@tawsif-patel

I want to dynamically change the chunkSize value based on uploaded file size. So I created getter method for flowOptions and returned calculated value from there but that did not work and even it stopped the upload process. below is the stack blitz demo for the same:

https://stackblitz.com/edit/ngx-flow-example-z1bjzz?file=src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fapp.component.html,src%2Fapp%2Fapp.module.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions