Skip to content
Snippets Groups Projects
Commit b92834e0 authored by TOMBOSOA Dimitrie's avatar TOMBOSOA Dimitrie Committed by Robert Phillips
Browse files

Issue #3375427 by Dim-dev: Fixes element name passed to file uploader widgets

parent 1aaeea2a
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ class FileUploader extends ManagedFile {
// Prepare the attachment settings.
$settings = [
'provider' => $element['#upload_provider'],
'name' => implode('_', $element['#parents']),
'name' => $element['#name'],
'options' => $element['#upload_options'] + [
'xhr' => $url->toString(),
'validators' => [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment