add regenerate of qrcode while changing size, info (qr) is now hidden

This commit is contained in:
danielvici123
2025-11-19 20:38:17 +01:00
parent 7bd00a3918
commit 2fa3a8b5f3
2 changed files with 11 additions and 4 deletions

View File

@@ -58,4 +58,10 @@ export class GeneratorQrcode {
link.click();
document.body.removeChild(link);
}
async ngOnInit() {
this.qrCodeDetailsForm.get('size')?.valueChanges.subscribe(() => {
this.generateQR();
});
}
}