forked from Snck3rs/contao-leaflet-maps
Validate aliases.
This commit is contained in:
@@ -180,6 +180,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_icon'] = array
|
||||
['title'],
|
||||
\Netzmacht\Contao\Leaflet\DependencyInjection\LeafletServices::ALIAS_GENERATOR
|
||||
),
|
||||
\Netzmacht\Contao\Leaflet\Dca\Validator::callback('validateAlias'),
|
||||
),
|
||||
'eval' => array('mandatory' => false, 'maxlength' => 255, 'tl_class' => 'w50', 'unique' => true),
|
||||
'sql' => "varchar(255) NOT NULL default ''"
|
||||
|
||||
Reference in New Issue
Block a user