File Type: Multiple Uploads
laravel-bapKeymaster# 3 months ago
1. I guess it’s about forms. Snippet below.12345$this->add('multiple_files', 'file', ['label_show'=>false,'attr'=> ['id'=>'profile_picture','multiple'=>true],'label' => trans('account::account.form.files'),]);
2. In “Attachments” module added by “HasAttachment” trait multiple file upload is by default.
laravel-bapKeymaster# 2 months, 1 week ago
In Generated module HasAttachment is used. Multi file-upload is out of the box as attachments.
HasAttachment trait is on Entity in module.
If You want to add file field directly to create/edit form. Then You need to add file field to form (located in ../Htp/Forms/…Your Form).
User module in Platform is example of file directly in Form.
Please check /Modules/Platform/User module – check form and user controller.
You must be logged in to reply to this topic.