#10573: Bug when auto-focusing on field with MultiWidget in admin site -------------------------------------------+-------------------------------- Reporter: rduffield | Owner: copelco Status: assigned | Milestone: 1.3 Component: django.contrib.admin | Version: SVN Resolution: | Keywords: Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | -------------------------------------------+-------------------------------- Comment (by ramiro):
I've just attached a patch that, just like rduffield's patch, proposes solving this on the Python side by adding a property to django.forms.!BoundField. Difference is that it uses a strategy similar to the `label_tag()` method to make sure it returns a form ID usable for e.e. auto-focusing the field. The new property name is ''stable_field'', for lack of a better name, can be changed if native English speakers deem necessary. -- Ticket URL: <http://code.djangoproject.com/ticket/10573#comment:14> Django <http://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 post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.