KasperOlesen / DataTable-AltEditor

Updated version of the free-datatables-editor-alternative from Kingcode.com
MIT License
329 stars 195 forks source link

need multiple file upload at once #111

Open nauman22 opened 4 years ago

nauman22 commented 4 years ago

Hi there! Is there any option to choose multiple files. morover Please change below code to avoid "undefined" id when uploading image or when using multiple image uploader... thank you

               //Getting Files from the modal
                var numFilesQueued = 0;
                $(`form[name="altEditor-add-form-${this.random_id}"] *`).filter(':input[type="file"]').each(function (i) {
                     var id= $(this).attr('id');
                    if ($(this).prop('files')[0]) {
                        ++numFilesQueued;
                        that.getBase64($(this).prop('files')[0], function(filecontent) {
                            rowDataArray[id] = filecontent;
                            --numFilesQueued;
                        });
                    }
                });
luca-vercelli commented 4 years ago

Sorry, I don't understand what is your issue, and how this modification can solve the issue.

What browser are you using?

nauman22 commented 4 years ago

blazor-upload-multi-file-upload i want this i.e

thang206 commented 3 years ago

@nauman22 Did you find out any solution for this issue?

nauman22 commented 3 years ago

no !

On Thu, Mar 18, 2021 at 5:19 PM thang206 @.***> wrote:

@nauman22 https://github.com/nauman22 Did you find out any solution for this issue?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/KasperOlesen/DataTable-AltEditor/issues/111#issuecomment-801881046, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEI4BZJ6RL4SHZT6UVY52TTTEHVV3ANCNFSM4NODLYHA .