From da8fba5afbe95a8a58d171d9d21c771ccb8a00a6 Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Sat, 16 Apr 2011 20:15:42 +0200 Subject: [PATCH] automatically grow textareas to the size of their content. fixes #123 --- pyweb/djextdirect/formprovider.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyweb/djextdirect/formprovider.py b/pyweb/djextdirect/formprovider.py index ebeed24..1e9fe82 100644 --- a/pyweb/djextdirect/formprovider.py +++ b/pyweb/djextdirect/formprovider.py @@ -270,6 +270,7 @@ class FormProvider(Provider): elif isinstance( field.widget, forms.Textarea ): extfld.update({ "xtype": "textarea", + "grow": True, }) elif isinstance( field.widget, forms.PasswordInput ): extfld.update({