gowut
gowut copied to clipboard
Why is "text" hardcoded in a text box?
Less a bug than a feature request.
If instead of choosing between "text" and "password" at render time these were
set at "type" attributes (c.SetAttr("type", "text"), for example), then the
user could over-ride the text box to, say "number". It also shrinks the code
quite a bit.
I don't have a full implementation of this change, but I have tested it and
could flesh it out to submit a patch if you approve of the direction.
Original issue reported on code.google.com by [email protected] on 6 Jan 2014 at 11:59