branch | stable |
changeset 2356 | ef9e30485ee7 |
parent 2348 | acf4b6a59558 |
child 2360 | 1d43aa551ba9 |
--- a/web/formfields.py Thu Jul 09 14:39:56 2009 +0200 +++ b/web/formfields.py Thu Jul 09 15:15:18 2009 +0200 @@ -203,8 +203,6 @@ widget = Select() elif self.max_length and self.max_length < 257: widget = TextInput() - widget.attrs.setdefault('size', min(45, self.max_length)) - widget.attrs.setdefault('maxlength', self.max_length) super(StringField, self).init_widget(widget) if isinstance(self.widget, TextArea):