Skip to content

Progress doesnt update when percent changes #212

@toalmoal

Description

@toalmoal

Hi,

First of all, thanks for creating and sharing this beautiful component.

I am trying to use this in an angular 17 project, however when the percentage changes, the component doesnt reflect the change and stays at 0. renderOnClick would force a render, but that defeats the purpose.

The relavent sections of the code are as follows:

<circle-progress [percent]="uploadProgressPercent()" [renderOnClick]="false"></circle-progress>

and in .ts file (i'm using a form to pass on the upload progress atm)

uploadProgressPercent() { const value = _.get(this.formGroup, 'controls.uploadProgressPercent.value'); console.log(value); return value; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions