Hi all I was reading this (http://groups.google.it/group/django-users/browse_frm/thread/cefbe1f4c2ea8765/95dcf4b9054546c1?lnk=gst&q=filtering&rnum=10#95dcf4b9054546c1 ) and I had another question:
is there a way (not messing too roughly with the prebuilt admin) to filter the Foreign Key 's auto generated select boxes? I mean: if I have a large set of items to choose from wouldn't it be more convenient if we can filter out the elements displayed in the selectbox, maybe using a simple text-pattern matching? Do you think it's feasible using a js hook? Since the original selectbox would return ALL the values, we could add a js hook that takes all the options and rewrite a new select box based on some filter value entered in a input field placed near the select box ... what do you think about this? I'm not too sure how to do it :) Thank you all ... I hope I will become more experienced soon to reply questions and not only making them ^__^ --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---