Redux form with self creating inputs
I'm trying to create a redux form (using redux-form) that can dynamically create it's own inputs. I am having trouble figuring out how to make redux-form aware of the new fields that have been created. Is it possible to dynamically change the fields prop that redux-form passes in within the form component itself? Am I thinking about this wrong? Here is what I am working with. class AddCustomer extends Component { render() { class Form extends Component { constructor(props, context) { super(props, context) this.state = { inputsToAdd: [] }; } handleAddInput() { let inputsToAdd = this.state