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

[BUG] - Input type "file" Not working in the first attempt. #3262

Closed
aryankholqi opened this issue Jun 16, 2024 · 2 comments
Closed

[BUG] - Input type "file" Not working in the first attempt. #3262

aryankholqi opened this issue Jun 16, 2024 · 2 comments

Comments

@aryankholqi
Copy link

NextUI Version

2.4.1

Describe the bug

I have form which has an Input type file to receive an image, but the problem is when I select a file for the first time, it doesn't do anything at background,
I found how to handle this bug, should set value={null} but it makes the project has a warning that an input value should not be null,

code

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

1- Implement a default Input type file with Next-Ui,
2- choose a file
3- you should see that your file is not given to the input

Expected behavior

it should take the file for the first time you append

Screenshots or Videos

No response

Operating System Version

macOs

Browser

Chrome

Copy link

linear bot commented Jun 16, 2024

@wingkwong
Copy link
Member

Duplicate - #2397

@wingkwong wingkwong closed this as not planned Won't fix, can't repro, duplicate, stale Jun 16, 2024
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

2 participants