Fix default layer.

This commit is contained in:
David Molineus
2017-10-09 14:20:18 +02:00
parent 5289518d6a
commit 06fc40295c

View File

@@ -457,7 +457,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = [
'exclude' => true,
'inputType' => 'select',
'options_callback' => ['netzmacht.contao_leaflet_maps.listeners.dca.leaflet', 'getZoomLevels'],
'default' => '',
'default' => null,
'eval' => [
'maxlength' => 4,
'rgxp' => 'digit',