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.
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.