Skip to content

Next: FileUpload does not work with ChnageDetection.OnPush #3165

@tom-wegener

Description

@tom-wegener

The FileUpload Component does not work with the set OnPush-ChangeDetection since (thats my guess) it cannot detect changes in the set.

On the master branch and in the documentation the state of the FileItem in the list under the upload-button/drop-zone changes but in the next branch the state FileItem stays the same until it's red but it won't show the spinner before or get bigger and show the error.

Master:

Image

Next:

Image

Possible solutions:

  • revert the OnPush changes for fileuploader
  • add manual detectchanges input
  • use signals (I prefer the last one)

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