-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
I'm trying to add an initial value as I'm doing it with a standard redux-form, but nothing happens.
It is not documented, how can I achieve this?
Here is the snippet of code:
function mapStateToProps(state) {
const firstName = state.auth.firstName;
const initialValues = {
firstName
};
return {
initialValues
};
}
export default connect(mapStateToProps)(
reduxForm({ form: "Form" })(Form)
);
Metadata
Metadata
Assignees
Labels
No labels