Digit in sketchpad and feedback item gives js error t.replace
Dear all,
in my Osweb experiment I used a sketchpad in which an image and text (digits (eg 1,2,3) for a scale) are presented simultaneously.
This is not working. I have to add a letter to the number in order to make it work.
I tried also with a feedback item, but gave me the same following error.
Application Error
Uncaught TypeError: t.replace is not a function
Do you have any suggestion?
Paolo
Comments
Hi @bilancino ,
Which platform are you using? I could reproduce the issue (which is indeed a bug) on Ubuntu, but on a Windows PC it works fine.
I posted the issue here:
Thanks for bringing this to our attention!
Cheers,
Lotje
Did you like my answer? Feel free to

Thanks @lvanderlinden,
I'm using windows 10 - 64bit (chrome, edge and firefox), I run it on 3 different computers (all win 10 x64 lic. 2edu 1pro) and isn't working in any of them.
Tomorrow I'll try it on my mac.
The problem is presento also on my mac. (catalina, os 3.3.5, also in Windows I used Os 3.3.5 megapack)
It's a bug I've encountered aswell when trying to draw integers. A good workaround is adding a blank space by typing " " next to the integer using the script editor.
top, is working!!
Thanks for the additional information about the platforms you tested, @bilancino . And @Shalva, thanks for sharing the workaround!
Did you like my answer? Feel free to
