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

[Help wanted]: How to retrieve file back when update and remove file when delete for Multiple #2

Open
KhairulAzmi21 opened this issue Jul 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@KhairulAzmi21
Copy link
Contributor

KhairulAzmi21 commented Jul 18, 2024

What happened?

I using multiple uploads,

I want to retrieve all file, and user can remove some files and upload other file .

for now to retrieve files i use this
foreach($blog->getMedia() as $media){ $this->files[] = $media; }

it works but problem when I try to click remove I dont know how to remove it,

not sure we have method to remove it when click save or not .

Consider user can has upload 3 file ,
want to remove 2 file, and upload 2file .

How to reproduce the bug

I need help

Package Version

1.0

PHP Version

8.3

Laravel Version

11.0

Which operating systems does with happen with?

No response

Notes

No response

@KhairulAzmi21 KhairulAzmi21 added the bug Something isn't working label Jul 18, 2024
@mbs047
Copy link

mbs047 commented Jul 31, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants