#32543: Add `search_help_text` to `admin.ModelAdmin`
-------------------------------------+-------------------------------------
     Reporter:  Caram                |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  contrib.admin        |                  Version:  4.0
     Severity:  Normal               |               Resolution:
     Keywords:  admin search_fields  |             Triage Stage:
                                     |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  1
-------------------------------------+-------------------------------------

Comment (by Virtosu Bogdan):

 This would have been useful a lot of times. Thank you!
 It would work well the way it's implemented now, but I have a couple of
 minor suggestions/questions.

 The default could be something like "Search by <search field labels>" and
 you can opt out or change the text yourself by defining search_help_text.
 I guess this depends on how many people would find this useful.
 Couldn't the placeholder attribute on input be used for it ? It seems to
 be a common pattern and then changing the default behavior would be even
 less disruptive.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32543#comment:1>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.8912331eecfc13151576417f49df6251%40djangoproject.com.

Reply via email to