Browse code

Remove mandatory tag from notification selects in location settings

Benjamin Roth authored on09/09/2024 15:48:10
Showing1 changed files
... ...
@@ -149,14 +149,14 @@ $GLOBALS['TL_DCA']['tl_vr_wa_standort'] = array
149 149
         (
150 150
             'exclude'                   => true,
151 151
             'inputType'                 => 'select',
152
-            'eval'                      => array('mandatory'=>true,'includeBlankOption'=>true, 'chosen'=>true, 'tl_class'=>'w50'),
152
+            'eval'                      => array('mandatory'=>false,'includeBlankOption'=>true, 'chosen'=>true, 'tl_class'=>'w50'),
153 153
             'sql'                       => "int(10) unsigned NOT NULL default '0'"
154 154
         ),
155 155
         'nc_notification_slots' => array
156 156
         (
157 157
             'exclude'                   => true,
158 158
             'inputType'                 => 'select',
159
-            'eval'                      => array('mandatory'=>true,'includeBlankOption'=>true, 'chosen'=>true, 'tl_class'=>'w50'),
159
+            'eval'                      => array('mandatory'=>false,'includeBlankOption'=>true, 'chosen'=>true, 'tl_class'=>'w50'),
160 160
             'sql'                       => "int(10) unsigned NOT NULL default '0'"
161 161
         ),
162 162
         'nc_notification_groups' => array