We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
First of all, thanks for this awesome Library. I'm trying to store a File from an <input type="file" /> using this Model: `
File
<input type="file" />
export default class MyFile extends Model { static fields() { return { id: this.attr(null), uploading: this.attr(true), progress: this.attr(0), file: this.attr(), }; } }
`
Now, when I try to insert this:
{ file: new File(...), }
// Not really using constructor as the file is from `<input />` tag // But it is instanceof File
I get empty object on file key when retrieving using MyFile.all()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
First of all, thanks for this awesome Library.
I'm trying to store a
File
from an<input type="file" />
using this Model:`
`
Now, when I try to insert this:
I get empty object on file key when retrieving using MyFile.all()
The text was updated successfully, but these errors were encountered: