final-form / final-form/react-final-form
Pristine and dirty shouldn't change between wizard pages.
- Dominant language
- JavaScript
- Stars
- 7.4k
- Forks
- 497
- PR merge metrics
- No merged PRs in 30d
Description
### Are you submitting a **bug report** or a **feature request**?
Bug report
### What is the current behavior?
1. Fill first and last name (`pristine` should change to `false`)
2. Click next
3. **`pristine` back to `true`**
4. Back to previous page
5. **`pristine` is still `true`**
### What is the expected behavior?
`pristine` and `dirty` shouldn't change between wizard pages.
or:
There should be other way, to check state of fields that are not currently in the DOM.
### Sandbox Link
https://codesandbox.io/s/wizard-field-state-gfevw?file=/Wizard.js
### What's your environment?
n/a
### Other information
I have multi-paged form (without `validate` on each page) and I want to block submitButton, when nothing has changed.
Contributor guide
Assessment
This issue has not been assessed yet.