Wizard Widget Bug: String default value is ignored


#1

It appears that if I try to add a string widget that it is impossible to have a default value.

For example the following script fragment:

#open the new wizard
newwizard(300,200,"String Wizard");
newwizardpage("Go");
wizardwidget("string","my string option:", "test");

# get the user set dimensions
out = runwizard;   
?wizardgetdata(1);                                     
killwizard;

Ends up with an empty text entry box, and returns an empty string if no string is input.

This does not seem to be the expected behavior. Is there possibly a bug-fix for this that is in development?

Thanks!


#2

I was also able to reproduce this bug, and I have now reported it to the developers. Thanks for your feedback!

If you notice any other similar issues, please let me know.