When initiating the CurrencytextBox programmatically the value does not get formatted as the given currency.
Do I have to or can I trigger the formatting by calling a method on the widget?
Full example: http://tinyurl.com/5z4934
dojo.addOnLoad(function() {
var field = dojo.byId('field1');
var widget = new dijit.form.CurrencyTextBox({'currency':'SEK','value':field.value},field);
});
