DCA: Sortierbare Dateien aus fileTree
Hallo zusammen,
ich versuche zurzeit ein Feld im DCA zu erstellen, das sortierbare Dateien enthält. Ich habe mich dabei an 'externalJs' in 'tl_layout.php' orientiert.
https://github.com/contao/core-bundl...ayout.php#L421
PHP-Code:
'js' => array
(
'exclude' => true,
'inputType' => 'fileTree',
'eval' => ['multiple'=>true, 'fieldType'=>'checkbox', 'filesOnly'=>true, 'extensions'=>'js', 'isSortable'=>true],
'sql' => "blob NULL"
),
Das allein scheint aber noch nicht zu reichen. Leider traucht "isSortable" in der DCA-Dokumentation von Contao auch gar nicht auf. Hat jemand einen Tipp?
Dank und Gruß
Dennis