This definitely seems to only occur in the 2.1.0rc and not in the 2.0.6rc. Additionally, doing "package require form 1.0" restores the correct behavior, so this is isolated to the form 2.0 implementation in 2.1.0rc
On Fri, Nov 2, 2012 at 3:49 PM, Jeff Lawson <j...@bovine.net> wrote: > > I think we're seeing a regression in the form package not honoring the > default values for textareas and checkbox. It doesn't seem to affect > text or select. Try the following example: > > > > > package require form > > set response(department) "Sales" > > #parray response > > form myform -defaults response -method post > myform start > > puts "<table>" > puts "<tr><th>Department:</th><td>" > #myform select department -values {Sales Development Operations} > #myform text department -size 200 > myform textarea department -rows 8 -cols 80 > puts "</td></tr>" > > myform submit save_tps -value "Save Report" > > myform end > myform destroy --------------------------------------------------------------------- To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org For additional commands, e-mail: rivet-dev-h...@tcl.apache.org