Skip to content
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

Allow sending file with form after clicking on submit button #1242

Open
simohammedhttp opened this issue Nov 2, 2016 · 1 comment
Open

Comments

@simohammedhttp
Copy link

simohammedhttp commented Nov 2, 2016

Hi there,

The ng-admin plugin gives a field 'file' which eases uploading resources, however, the file is sent automatically after selecting it.

myEntity.creationView().fields([
    // other fields
    nga.field('myfile', 'file')
            .label('Upload File')
]);

I wonder if ng-admin is capable of sending the file alongside the other posted data in one shot ?

Best regards,

@jpetitcolas
Copy link
Contributor

Unfortunately, this is not supported at the moment. But yes, it is definitively a good feature to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants