Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing field *length* in flow type in *fields* #164

Open
ViktorAksionov opened this issue May 31, 2021 · 0 comments
Open

Missing field *length* in flow type in *fields* #164

ViktorAksionov opened this issue May 31, 2021 · 0 comments

Comments

@ViktorAksionov
Copy link

ViktorAksionov commented May 31, 2021

Due missing field length in fields by accessing it i get flow type error despite the fact that this field exists.

Are you submitting a bug report or a feature request?

Bug

What is the current behavior?

Missing flow type for a field length

in here:

export type FieldArrayRenderProps = {
  fields: {
   ...
    length: number,  // <<== this line need to be added
  },
  meta: Meta
}

What is the expected behavior?

Need to add missing type

What's your environment?

Latest version of Final Form Arrays

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant