Widget state shared between form instances
jonashaag opened this issue · comments
Two bugs here:
-
We should be using deepcopy to make copies of the inner widget to avoid state sharing of inner widgets if someone passes a widget instance rather than a widget class. django/django@09da1e7
-
We should make sure that when a widget is being copied using deepcopy, the inner widget is deepcopied too.
We actually don't need 1., see Django's MultiWidget implementation