You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 7.x-dev/crud-uploaders.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,6 +130,8 @@ The base uploader class has most of the functionality implemented and use **"str
130
130
131
131
**`hasDeletedFiles`** - a method that returns a boolean to determine if the files were deleted from the field.
132
132
133
+
**`getUploadedFilesFromRequest`** - this is the method that will be called to get the values sent in the request. Some uploaders require you get the `->files()` others the `->input()`. By default it returns the `->files()`.
134
+
133
135
This is the implementation of those methods in `SingleFile` uploader:
134
136
```php
135
137
protected function shouldKeepPreviousValueUnchanged(Model $entry, $entryValue): bool
0 commit comments