final-form / final-form/react-final-form

Issue on TypeScript `FieldRenderProps` typings

Open
#441 6 comments 8 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.4k
Forks
497
PR merge metrics
No merged PRs in 30d

Description

https://github.com/final-form/react-final-form/blob/a3ca5f169da5cb5abcf53d60285d8d43b08c427f/typescript/index.d.ts#L25

This typing does not work well with other react libraries.

For example with `rc-select`: http://react-component.github.io/select/#select-props
in the `onChange` prop you don't have access to the event, but only the value selected.

This is valid also for `onFocus` and `onBlur` props

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.