Related model getting autocomplete="off"
I have an Admin view on a model which has related (child) models. I
have extra=1. It displays like this:
[Child1]
[Child2]
[ ]
+ Add another Foo
I have jQuery autocomplete attached to those model fields.
All is fine, except: when I click on 'Add another Foo', the
dynamically added field has autocomplete="off", and so autocomplete
doesn't work there.
The only place I can see autocomplete set is in media/js/inlines.js,
but that's for fetching a couple of global fields.
Any idea if this behaviour is intentional, or a bug? (Django-1.3)
Thanks,
Brian.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home