Comments (4)
I found the issue, it was because I initialized file as undefined instead of null. That seems to solve the issue.
from mui-file-input.
Hello !
Please share a codesandbox repro, without React Hook Form
from mui-file-input.
I cannot seem to reproduce the errorr in codesanbox. It seems like my setup is the problem, but I have no idea what might be causing it. The issue persists even without react-form-hook.
Also, didn't mean to close the issue (:
from mui-file-input.
I found the issue, it was because I initialized file as undefined instead of null. That seems to solve the issue.
This was also an issue I ran into. Shouldn't the placeholder show regardless of file
being null or undefined?
from mui-file-input.
Related Issues (20)
- Error [ERR_REQUIRE_ESM]: require() of ES Module HOT 5
- File accept type setting HOT 2
- App crashing when installing the component HOT 3
- placeholder don't show HOT 1
- Filter file type is not working HOT 3
- Warning: Prop `id` did not match. Server: ":R15aljt6jdacq:" Client: ":R4lamfkqdl9j9:" HOT 1
- support accept props
- support accept props
- Package not recognized if I install through pnpm HOT 1
- Warnings about pseudo classes in console HOT 3
- I got error while using it in next js HOT 2
- Cannot use import statement outside a module HOT 2
- Allow CloseButton title and aria-label props customization HOT 2
- Cannot be build in the new version of [email protected] HOT 1
- Version 3.0.2 fails to build with nextjs HOT 2
- Do Mui Icon Optional HOT 2
- Required Issue - Form Doesn't submit HOT 4
- "Select, clear, select the same file" won't work on v4.0.2
- Code example in API reference is outdated HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mui-file-input.