Skip to content

Commit

Permalink
Update inline forms on save
Browse files Browse the repository at this point in the history
  • Loading branch information
UmSenhorQualquer committed May 6, 2019
1 parent 578bb78 commit ea3039f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyforms_web/widgets/django/modelform.py
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,9 @@ def save_event(self, obj, new_object):
if self.POPULATE_PARENT and self.parent:
self.parent.populate_list()

for inline in self.inlines_apps:
inline.populate_list()

return True


Expand Down

0 comments on commit ea3039f

Please sign in to comment.