Cordobo / angularx-qrcode

A fast and easy-to-use Angular QR Code Generator library with Ivy support
https://cordobo.github.io/angularx-qrcode/
MIT License
465 stars 126 forks source link

allowEmptyString not working #137

Closed jongbonga closed 2 years ago

jongbonga commented 3 years ago

I'm getting the following error [angularx-qrcode] canvas error: Error: No input text I tried with different elementType but the error is persists

Cordobo commented 2 years ago

Thanks for the report, the underlying lib does not support it any longer (I used a different one before).

I fixed it by setting data to " " if empty strings are allowed.

Released with 12.0.1