Property 'pristine' does not exist on type 'FormRenderProps'
See original GitHub issueAre you submitting a bug report or a feature request?
bug report
What is the current behavior?
Property 'pristine' does not exist on type 'FormRenderProps'.
when rendering with TypeScript ^3.5.2
and React ^16.8.6
What is the expected behavior?
pristine
is used in the examples but does not appear in FormRenderProps
Sandbox Link
What’s your environment?
{
"react-final-form": "^4.1.0",
"type-script": "^3.5.2",
"react": "^16.8.6",
"react-scripts": "^3.0.1"
}
Other information
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
React final form not working with typescript - Stack Overflow
I get an error that I am missing "onSubmit" property in type {...} required by "FormProps". I checked the interface but can't figure...
Read more >Final Form Docs – `FieldRenderProps`
Optional: May not be present if you have not subscribed to pristine . true if the current value is === to the initial...
Read more >The property "form.pristine" does not work with an Observable ...
DevExpress Support Team: CLONED FROM T619536: The property "form.pristine" does not work with an Observable type.] Hello, I am using the An.
Read more >Looking for the Best React Form Library? It's Probably on This ...
You can use libraries like Yup or Joi if you don't want to write your own validation function. Formik has a special prop...
Read more >Form validation with React Final Form + Fonk - Basefactor
We made great progress, but there's one problem: we can hit submit but we won't validate anything on the client's side, behavior which...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great!
Plus the latest version(s) of RFF have some fun Typescript features.
Thanks updating from
4.15.0
to4.16.1
fixed this issue