Allow empty standard layers.

This commit is contained in:
David Molineus
2017-10-09 14:19:47 +02:00
parent a5fbba740b
commit 5289518d6a
2 changed files with 3 additions and 2 deletions

View File

@@ -224,7 +224,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_map'] = array
'inputType' => 'select',
'options_callback' => ['netzmacht.contao_leaflet_maps.listeners.dca.map', 'getLayers'],
'eval' => array(
'mandatory' => true,
'mandatory' => false,
'tl_class' => 'w50',
'chosen' => true,
'includeBlankOption' => true,