This commit is contained in:
Tony Air 2022-05-27 17:58:46 +02:00
parent 8515943697
commit 73dd32d7fe

View File

@ -127,8 +127,8 @@ class SliderElement extends ElementSlideshow
$bulk = new BulkUploader('Image', SlideImage::class, false);
$bulk
->setUfSetup('setFolderName', 'Uploads/SlideImages')
->setUfSetup('getValidator.setAllowedExtensions', ['jpg', 'jpeg', 'png', 'gif']);
->setUfSetup('setFolderName', 'Uploads/SlideImages');
//->setUfSetup('getValidator.setAllowedExtensions', ['jpg', 'jpeg', 'png', 'gif']);
$config->addComponent($bulk);
$config->addComponent(new \Colymba\BulkManager\BulkManager());