I was modifying the form submission with some Ajax code that busted the filter_horizontal apparently. Preventing the default action of the form with jQuery is not a good idea :)
On May 4, 10:41 am, Brandon Taylor <btaylordes...@gmail.com> wrote: > Hi George, > > I wonder what the deal is then. I've noticed this issue on two apps > I'm working on. The only thing those apps have in common is that I'm > also leveraging jQuery and overriding the change_form.html template. > > I guess I'll just make a new app and start adding things until it > breaks. > > On May 4, 10:30 am, George Song <geo...@damacy.net> wrote: > > > On 5/4/2009 8:24 AM, Brandon Taylor wrote: > > > > filter_vertical also appears to be suffering the same problem. > > > > On May 4, 10:23 am, Brandon Taylor <btaylordes...@gmail.com> wrote: > > >> Hi everyone, > > > >> When I specify filter_horizontal for any ManyToMany field on a model > > >> using Django trunk, and that field is required, admin will not allow > > >> me to save the choice(s). it will tell me the field is required, no > > >> matter how many choices I select. > > > >> If I remove the filter_horizontal, and I make selection(s), the form > > >> will submit properly. > > > >> Anyone else seeing the same issue? > > > I just tested it in my app and it's fine. > > > -- > > George --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---