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

File 'accept' Attribute Not Functioning #4404

Open
3 of 4 tasks
aress31 opened this issue Dec 1, 2024 · 1 comment
Open
3 of 4 tasks

File 'accept' Attribute Not Functioning #4404

aress31 opened this issue Dec 1, 2024 · 1 comment
Labels
bug needs triage Initial label given, to be assigned correct labels and assigned

Comments

@aress31
Copy link

aress31 commented Dec 1, 2024

Prerequisites

What theme are you using?

mui

Version

5.23.1

Current Behavior

The file accept property for uiSchema is not working. It is setting the property on the wrapping parent rather than on the input field, see:

image

Expected Behavior

No response

Steps To Reproduce

No response

Environment

- OS:
- Node:
- npm:

Anything else?

No response

@aress31 aress31 added bug needs triage Initial label given, to be assigned correct labels and assigned labels Dec 1, 2024
@aress31 aress31 changed the title Fille "accept" Not Working File "accept" Not Working Dec 1, 2024
@vanch3d
Copy link

vanch3d commented Dec 1, 2024

Similar problem with chakra-ui
The problem seems to be with getInputProps, not retaining accept from the props to be inserted in the input

  • in mui, it's inserted in the parent (...rest)
  • in chakra-ui, it's simply ignored

@aress31 aress31 changed the title File "accept" Not Working File 'accept' Attribute Not Functioning Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs triage Initial label given, to be assigned correct labels and assigned
Projects
None yet
Development

No branches or pull requests

2 participants