new entries should start with two empty "schedule" rows
Description
When creating a new fixed due date schedule, the schedules-row should be pre-populated with two empty rows as specified in UICIRC-20 Scenario 7. Implementing this in the FieldList component causes console errors:
When creating a new fixed due date schedule, the schedules-row should be pre-populated with two empty rows as specified in UICIRC-20 Scenario 7. Implementing this in the FieldList component causes console errors:
because
fields.push()
is not actually a mutator; it dispatches an action and updates the Redux internal store (see https://redux-form.com/7.1.2/docs/api/fieldarray.md/).