want to disable a save button based on empty que #1213

Closed
opened 2022-05-18 19:50:56 +00:00 by JuddWilliams · 1 comment
JuddWilliams commented 2022-05-18 19:50:56 +00:00 (Migrated from github.com)

basically i'm looking for an onRemove() callback so i know when a file(s) are removed. simply want to enable/disable a save button based on if files are present for uploading...

basically i'm looking for an onRemove() callback so i know when a file(s) are removed. simply want to enable/disable a save button based on if files are present for uploading...
JuddWilliams commented 2022-05-18 19:58:00 +00:00 (Migrated from github.com)

resolved by
[disabled]="uploader?.queue?.length === 0"

resolved by [disabled]="uploader?.queue?.length === 0"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dc/ng2-file-upload#1213