[Maypole] AsForm and textarea

Brian Glass brian@glassbrian.com
Sat, 16 Oct 2004 21:52:51 -0400


to_field  doesn't seem to work for me when the field is a large text 
field (e.g. text, or blob). It creates a <textarea> which is what I 
want, but it doesn't populate the <textarea> with data from the database.

I looked at the code and discovered that on line 100 (near the end of 
to_field) it returns $class->_to_textarea($field) when in fact it should 
return $self->_to_textarea($field).

I made the change and it seems to work quite well now. Is this something 
that should be patched, or am I making improper assumptions about how it 
should work?