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

Form.InputFile is missing name typescript definition #420

Open
moosbruggerj opened this issue May 11, 2023 · 0 comments
Open

Form.InputFile is missing name typescript definition #420

moosbruggerj opened this issue May 11, 2023 · 0 comments
Labels

Comments

@moosbruggerj
Copy link

Describe the bug
the name property is missing in the InputFileProps

To Reproduce
Add name to an input file.

import { Form } from "react-bulma-components"

function MyInput() {
  return <Form.InputFile name="" />
}

Produces the following error:

Property 'name' does not exist on type 'IntrinsicAttributes & InputFileProps & SpacingProps & FlexboxProps & HelperProps & ColorProps & ResponsiveProps & TypographyProps & { ...; } & OmitKeys<...>'.

Expected behavior
Name should be accepted

Versions

  • react-bulma-components: 4.1.0
  • bulma: 0.9.4
  • react: 18.2.0
  • Browser: -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant