Comments (3)
Hi @sathish2k. File upload is not something we plan to handle in uniforms, but you can wire any file upload component with it. Usually, you upload the files directly to some storage and get a URL (or other key) of it, and store it instead. As it's usually a string, an array of strings handles such case just right.
from uniforms.
Hi @radekmie ,
How to upload binary files and what is the type for binary in JsonSchema
from uniforms.
There are many ways of doing that, and many packages that take care of this complexity. As I said, usually you don't store binary data, but only the URLs (strings) instead.
In any case, this topic is not related to uniforms but file upload, so I'll close it.
from uniforms.
Related Issues (20)
- Improve getNativeFormProps in bridges to a more specific type HOT 1
- [MUI] and [Material] `min` and `max` properties are not being applied to a Date field HOT 2
- MUI Textfields do not register text when using vite to create a react app HOT 3
- Add buttons for ListItems don't work HOT 2
- Uniforms and autotests (ui.vision, selenium) HOT 1
- uniforms-bootstrap5 is setting the maxLength in the wrapper, instead of in input HOT 4
- Bad documentation HOT 2
- `ListField` in Bootstrap 5 has white icons on white buttons
- Pass in parameters to custom field when applying component to AutoField. HOT 4
- AutoForm does not include wrapped custom field in onModelChangeEvent HOT 2
- Warning: Failed prop type: Invalid prop `required` of type `array` supplied to `ForwardRef(FormControl)`, expected `boolean`. HOT 1
- uniforms-bootstrap5 is setting the minLength and maxLength in the wrapper, instead of in textarea
- DisplayIf required validation and on hide still data passes to model HOT 2
- Schema validation does not work if AutoForm as onValidate HOT 3
- Vertical form layout is broken for antd v5 HOT 1
- How can I send defaultValue to AutoForm HOT 1
- Support v5 of AntD HOT 3
- ZodBridge should ignore literal property type HOT 4
- Option to use JSON Schema `description` property as a helper text HOT 3
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 uniforms.