getFormValues code example
Example: getFormValues
import {
getFormValues,
isDirty,
isPristine,
isValid,
isInvalid
} from 'redux-form'
MyComponent = connect(
state => ({
values: getFormValues('myForm')(state),
dirty: isDirty('myForm')(state),
pristine: isPristine('myForm')(state),
valid: isValid('myForm')(state),
invalid: isInvalid('myForm')(state)
})
)(MyComponent)