From 5cf75b76b73e95a889c422d69f85df38ea8f28ca Mon Sep 17 00:00:00 2001 From: David Molineus Date: Mon, 14 Nov 2016 13:36:32 +0100 Subject: [PATCH] Add the color picker. --- module/dca/tl_leaflet_icon.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/module/dca/tl_leaflet_icon.php b/module/dca/tl_leaflet_icon.php index e1c61f6..b9ef4fc 100644 --- a/module/dca/tl_leaflet_icon.php +++ b/module/dca/tl_leaflet_icon.php @@ -406,9 +406,12 @@ $GLOBALS['TL_DCA']['tl_leaflet_icon'] = array 'label' => &$GLOBALS['TL_LANG']['tl_leaflet_icon']['iconColor'], 'exclude' => true, 'inputType' => 'text', + 'wizard' => array( + \Netzmacht\Contao\Toolkit\Dca\Callback\CallbackFactory::colorPicker() + ), 'eval' => array( 'maxlength' => 64, - 'tl_class' => 'w50', + 'tl_class' => 'w50 wizard', 'nullIfEmpty' => true, ), 'sql' => "varchar(16) NULL"