Erik Rasmussen

Results 92 comments of Erik Rasmussen

So the question is a debatable one: "When does a field with a submit error become valid?" This is specifically why the `dirtySinceLastSubmit` flag was added, to give everyone finer...

I would also recommend _against_ disabling your submit button while `invalid`. The primary reason for this is that Final Form will mark all your fields as `touched` if you try...

Not sure why this makes sense. What does `{ validateOnBlur: true, validateOnChange: true }`, or the `false false` equivalent, even mean? If you're validating on change, doing so on blur...

Wow, @Zn4rK, that's some impressive `FormSpy` hacking to get on-blur validation almost-working.

@Zn4rK Your example inspired me to create this example. It uses `setFieldData` to maintain a completely separate layer of errors that are validated on blur. What do you think? It...

I'm not sure I understand the problem here. ## Value Flow ![flow](https://user-images.githubusercontent.com/4396759/83890340-f3081380-a74b-11ea-97cd-28424aa82200.png) ## Updated Sandbox Is this not the desired functionality? [![Edit 🏁 React Final Form - Parse and Format](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/react-final-form-parse-and-format-ow5pb?fontsize=14&hidenavigation=1&theme=dark)

@mrassili Can you provide a sandbox?

This is not passed because the `AutoComplete` component [doesn't take a `name` prop](http://www.material-ui.com/#/components/auto-complete).

This library was causing several warnings from MUI about props that were going to be deprecated soon, so I went through and culled all the props that were not specifically...