Re: Select2 field breaks in admin when extending change_form.html

2019-04-18 Thread Jason Burke
Greetings, I'm not sure I was clear earlier, so I'll reword the problem again here... *Issue/Problem/Bug:* Extending the admin/change_form.html template in order to modify the .form-row style causes the autocomplete (Select2) and raw id widgets to stop working as documented. *Problem behavior*

Re: Select2 field breaks in admin when extending change_form.html

2019-04-18 Thread Julio Cojom
Hi sir, There is a library exclusive for admin, his name it's something like select2 admin , search it, I used it a couple times and only requires that you add it to your settings.py Regards! On Thu, Apr 18, 2019, 11:51 AM Jason Burke wrote: > Greetings all, > > I'm working on a project, and I

Select2 field breaks in admin when extending change_form.html

2019-04-18 Thread Jason Burke
Greetings all, I'm working on a project, and I didn't like the default solid grey lines in each form-row, so I extended the change_form.html to remove them. However, in doing so, the autocomplete select2 field broke (raw_id_fields breaks as well). I've been looking for a workaround on this issu