Browse Source

automatically grow textareas to the size of their content. fixes #123

Natenom/support-murmur-13-1446181288462
Michael Ziegler 14 years ago
parent
commit
da8fba5afb
  1. 1
      pyweb/djextdirect/formprovider.py

1
pyweb/djextdirect/formprovider.py

@ -270,6 +270,7 @@ class FormProvider(Provider):
elif isinstance( field.widget, forms.Textarea ): elif isinstance( field.widget, forms.Textarea ):
extfld.update({ extfld.update({
"xtype": "textarea", "xtype": "textarea",
"grow": True,
}) })
elif isinstance( field.widget, forms.PasswordInput ): elif isinstance( field.widget, forms.PasswordInput ):
extfld.update({ extfld.update({

Loading…
Cancel
Save