elo80ka / django-dynamic-formset

A jQuery plugin that allows you dynamically add new forms to a rendered django formset.
677 stars 311 forks source link

Select options to copy changed option text #119

Open Pulkit-Sharma opened 8 years ago

Pulkit-Sharma commented 8 years ago

I have perfect working formset. However issue comes when i update a select field with ajax call. On clicking add button, select box is populated with initial options passed by Views.

Example: I have a row with 3 fields. First one is a select field with data 1,2,3. I did an Ajax call, and now my select box have data 2.

But when i add another form with add button, the new form Select field has data 1,2,3 instead of 2.