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

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

+ 1
- 1
Field/ImageManagerField.php View File

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

Loading…
Cancel
Save