mirror of
https://github.com/django/django.git
synced 2026-02-09 02:49:25 +08:00
Fixed #13883 -- Rendered named choice groups with <optgroup> in FilteredSelectMultiple.
This patch adds support for <optgroup>s in FilteredSelectMultiple widgets. When a popup returns a new object, if the source field contains optgroup choices, the optgroup is now also included in the response data. Additionally, this adds error handling for invalid source_model parameters to prevent crashes and display user-friendly error messages instead. Co-authored-by: Michael McLarnon <mmclar@gmail.com>
This commit is contained in:
1
AUTHORS
1
AUTHORS
@@ -953,6 +953,7 @@ answer newbie questions, and generally made Django that much better:
|
||||
Scott Pashley <github@scottpashley.co.uk>
|
||||
scott@staplefish.com
|
||||
Sean Brant
|
||||
Sean Helvey <me@seanhelvey.com>
|
||||
Sebastian Hillig <sebastian.hillig@gmail.com>
|
||||
Sebastian Spiegel <https://www.tivix.com/>
|
||||
Segyo Myung <myungsekyo@gmail.com>
|
||||
|
||||
Reference in New Issue
Block a user