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

Multiple file upload is impossible #189

Open
perjesipet opened this issue Sep 7, 2021 · 0 comments
Open

Multiple file upload is impossible #189

perjesipet opened this issue Sep 7, 2021 · 0 comments

Comments

@perjesipet
Copy link

Hi.

I cannot seem to tackle the problem of multiple file upload from one form.
The problem is that both elements go into the json as base64 under the undefined element.
Am i using this wrong, or is there no way?

{
name: 'image',
id: 'image',
data: null,
render: function (data, type, row, meta) {
return <img style='max-width:300px;max-height:300px' src='static\\data\\tool_images\\${data.image_link}'>;
},
type: "file",
title: "Image"
},
{
name: 'image2',
id: 'image2',
data: null,
render: function (data, type, row, meta) {
return <img style='max-width:300px;max-height:300px' src='static\\data\\tool_images\\${data.image_link2}'>;
},
type: "file",
title: "Image2"
}

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

No branches or pull requests

1 participant