Browse Source

Correctif addWebpackEncore

tags/0.1^0
Fab 3 years ago
parent
commit
7ef52b6e69
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      Field/FileManagerField.php
  2. +1
    -1
      Field/ImageManagerField.php

+ 1
- 1
Field/FileManagerField.php View File

@@ -23,7 +23,7 @@ final class FileManagerField implements FieldInterface
->setProperty($propertyName)
->setLabel($label)
->setTemplatePath('@LcSov/adminlte/crud/field/file.html.twig')
/*->addWebpackEncoreEntries('adminlte-field-filemanager')*/
//->addWebpackEncoreEntries('adminlte-field-filemanager')
->setCustomOption('managerDir', 'file')
->setCustomOption('type', 'file')
->setFormType(FileManagerType::class)

+ 1
- 1
Field/ImageManagerField.php View File

@@ -23,7 +23,7 @@ final class ImageManagerField implements FieldInterface
->setProperty($propertyName)
->setLabel($label)
->setTemplatePath('@LcSov/adminlte/crud/field/image.html.twig')
->addWebpackEncoreEntries('adminlte-field-filemanager')
//->addWebpackEncoreEntries('adminlte-field-filemanager')
->setFormType(FileManagerType::class)
->setCustomOption('managerDir', 'image')
->setCustomOption('type', 'image')

Loading…
Cancel
Save