#71 htmlfill.render() does not clear <input type="text"> fields

open
nobody
None
5
2009-02-19
2009-02-19
No

When the defaults dict passed to htmlfill.render() is empty, and force_defaults=True, htmlfill clears <textarea> fields (as well as checkboxes, radio buttons, and select fields), but leaves the value of an <input type="text"> alone. This is inconsistent and, IMHO, buggy. The same applies to "hidden" and "password" fields.

I'm attaching a failing test.

Discussion

  • jab

    jab - 2009-02-19

    patches applied in r3787

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks