[twill] empty textareas submit newline?
titus at caltech.edu
Sun Mar 5 14:28:35 PST 2006
On Sun, Mar 05, 2006 at 11:18:29PM +0100, gabor wrote:
-> i have a simple webpage with a form with a textarea,
-> <form action="" method="get">
-> <textarea name="teaser" rows="10" cols="40"></textarea>
-> the problem is that when i go there with twill, and do a submit, it
-> submits this:
-> a newline.
-> a different way to reproduce the problem is to simply use "showforms".
-> and you will see that for all the should-be-empty textareas the content
-> is a newline (there is an empty line below the textarea's line).
-> so, is this a bug or i am doing something very stupid :) ?
sounds like a bug to me! Hopefully I'll get a chance to look at it
tonight. It's probably in ClientForm, if you want to have a go at it
yourself, although on a cursory inspection I don't see anything
More information about the twill