-
-
Notifications
You must be signed in to change notification settings - Fork 32
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 Upload fields #5
Comments
Sooo... basically reimplementing Nova, I guess 😅 |
Would it be okay if I work on this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is currently just a vague idea that popped into my mind. I think it should be possible to define a
Field
as anupload
or something similar and let Arcanist take care of actually saving the file.Currently, you would have to implement the
process
method of the Step to deal with uploaded files. This is something I want to discourage as much as possible and provide built-in solutions to problems that require that escape hatch instead.The API could look something like this
Arcanist could then take care of saving the uploaded file using whatever storage you have configured in your application and store the file path in the
avatar
key.This idea could potentially be generalized further to add more behavior to fields.
The text was updated successfully, but these errors were encountered: