question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Property 'pristine' does not exist on type 'FormRenderProps'

See original GitHub issue

Are 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

image

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:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
erikrascommented, Jul 11, 2019

Great!

Plus the latest version(s) of RFF have some fun Typescript features.

1reaction
KristopherWagnercommented, Jul 11, 2019

Thanks updating from 4.15.0 to 4.16.1 fixed this issue

image

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found