ngx-image-compress
ngx-image-compress copied to clipboard
the pop-up window opens twice
Hello guys, i found a error, when i use the image compress in a input connected a Label, the Pop-up windows opens twices.
<label for="logotipo">
<i class="bi bi-plus-lg"></i>
</label>
<input (change)="compressFile()" type="file" name="logotipo" id="logotipo"
accept="image/png, image/jpeg" formControlName="logotipo" [class.is-invalid]="invalidLogo"
alife-file-to-base64 >
i cannot change the label for a button, because my validation dont work, and if i change the (change) for (click), happens the same.