#16304: Add HTML5 'placeholder' attribute support to form fields.
-------------------------------------+-------------------------------------
Reporter: rich@… | Owner: jgasteiz
Type: New feature | Status: closed
Component: Forms | Version: master
Severity: Normal | Resolution: wontfix
Keywords: forms, placeholder, | Triage Stage: Accepted
html5 | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 1
Needs tests: 0 | UI/UX: 1
Easy pickings: 1 |
-------------------------------------+-------------------------------------
Comment (by charettes):
Replying to [comment:23 doctormo@…]:
> @charettes - Maybe this is something that can be fixed using a
templatetag. The nature of class and placeholder suggest they'd be happy
in the template anyway.
>
> This doesn't help full form/table printing, but that whole system is
weak and so assumptive. Basically making template information affixed in
python code in a bad way.
I agree that handling this at the template level would make more sense. I
suggest that you take a look at #15667 which track efforts to implement
template based widgets. From what I remember it introduced a templatetag
to add attributes to widgets.
--
Ticket URL: <https://code.djangoproject.com/ticket/16304#comment:24>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/074.20a663bffeb91d79779d6a7db6f61b3d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.