Erik Rasmussen
Erik Rasmussen
You might need to be using the [``](http://redux-form.com/7.0.3/docs/api/Form.md/) component. Are you?
It seems to be working in the sandbox, right? [](https://codesandbox.io/s/ElYvJR21K)
## Proposal A new function, like `handleSubmit`, called `dispatchSubmit`, that you use like this: ```jsx ... ``` It will check that sync validation and async validation all passes, and if...
> How would that interact with the `submitSucceeded` flag? @jedrichards All those flags would be up to your middleware. For that particular flag, it would be set by dispatching the...
Why do you care if the fields are touched or not? If it's for displaying errors, perhaps you could set some other piece of state, e.g. ```jsx {(touched || this.state.showAllErrors)...
You could certainly show errors when your field is dirty. ```jsx {meta.error && meta.dirty && {meta.error}} ``` Or you could pass in the entire dirty state of the form to...
Hmm... Blur changes the value to allow maximum flexibility in how the library is used. Can we be guaranteed that every single input that calls `onBlur` also calls `onChange` on...
> Current behavior: if `onBlur` is called without event argument field's value is set to `undefined`. > > Desired behavior: If `onBlur` is called without event argument, set `touched` to...
The validation has to run whenever a new field is added, but on initial render, there is a mechanism that _should_ (perhaps it's broken here?) pause all validation from running...
@lazurey Yep, that's by design because it's easier out of the box and isn't a problem for most (small) forms. To fine tune the rerendering, you've gotta put a `subscription`...