[Simple Currency Input] Readonly Error

[Simple Currency Input] Readonly Error

  
Forge Component
(13)
Published on 2015-06-05 by César Santos
13 votes
Published on 2015-06-05 by César Santos
First of all thank you for the widget, it's really useful.

I also found an error on your JavaScript regarding the 'readonly' property on function 'AddCurrencyField':
if(obj.getAttribute("readonly") != null)
        node.setAttribute(obj.getAttribute("readonly"));
It should be:
if(obj.getAttribute("readonly") != null)
        node.setAttribute("readonly", obj.getAttribute("readonly"));

By the way, the version 1.2.4 only corrects the 'empty thousand separator' right? On the version description it says 'Allows empty decimal separator'.
Hi Arrobe,
 
Yes, the version 1.2.4 only corrects the  'empty thousand separator'.
 
Thank you, for your feedback, I will fix it soon as possible.