angular-qr icon indicating copy to clipboard operation
angular-qr copied to clipboard

value.replace is not a function

Open bonlemuel opened this issue 8 years ago • 2 comments

Hi, I'm trying to make the QR Code change when $scope of data change. But it returns this error. Please help.

Thanks!

bonlemuel avatar Jan 26 '17 04:01 bonlemuel

I'm also getting this error. Has there been any resolution?

bcawsofme avatar Feb 16 '17 17:02 bcawsofme

Because of your variable type is number or other that is not string. Add .toString() method after your variable.

promin04 avatar Jan 18 '18 07:01 promin04