Using ng-admin, how can you build a creation view form with two fields: a name, and a file?
The file field type lets you easily select a file as part of a form, but it immediately posts it to an endpoint that you configure. That endpoint returns the created filename, which you can then refer to when you submit the form.
This strategy doesn't work for me. I need ng-admin to let me select a file, enter a name for the file, and then submit both pieces of data as a multipart encoded POST when I submit the form.
I think this might be possible with some clever uses of custom Angular directives, but I'm not sure about the right way to go about it. Any ideas?