#30306: Textarea widget missing input_type
-------------------------------------+-------------------------------------
     Reporter:  minusf               |                    Owner:  nobody
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  Forms                |                  Version:  2.2
     Severity:  Normal               |               Resolution:  invalid
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by minusf):

 I understand that the "abstraction" is leaking. But `Select` and
 `RadioSelect` both have `input_type`, even if for a "different purpose",
 those can be used in the same way as `input_type` for "true" `Input`
 widgets...  It's not ideal, but it's already there and only `Textarea` is
 left out in the cold. The other alternative could be to add `widget_type`
 or such to every `Widget` subclass but at this point it would just
 duplicate `input_type`.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30306#comment:4>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.3583ca45b5e33319128b7aa9e9a8b62b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to