The number of rows specified in the extra (in my case 2) are rendered properly and have correct default values from the model. However, adding new rows renders them with all fields empty and the rows above the extra value just remove the previous rows of data. Anyone knows what is going on?
It seems that official docs mention form-TOTAL_FORMS, form-INITIAL_FORMS) from the management_form and it seems like that is the issue. Anyone knows how to handle this behaviour?
The number of rows specified in the extra (in my case 2) are rendered properly and have correct default values from the model. However, adding new rows renders them with all fields empty and the rows above the extra value just remove the previous rows of data. Anyone knows what is going on?
It seems that official docs mention
form-TOTAL_FORMS, form-INITIAL_FORMS)
from themanagement_form
and it seems like that is the issue. Anyone knows how to handle this behaviour?