Browse code

Remove mandatory tag from notification selects in location settings

Benjamin Roth authored on09/09/2024 15:48:10
Showing1 changed files
... ...
@@ -179,14 +179,14 @@ $GLOBALS['TL_DCA']['tl_vr_wa_standort'] = array
179 179
         (
180 180
             'exclude'                   => true,
181 181
             'inputType'                 => 'select',
182
-            'eval'                      => array('mandatory'=>true,'includeBlankOption'=>true, 'chosen'=>true, 'tl_class'=>'w50'),
182
+            'eval'                      => array('mandatory'=>false,'includeBlankOption'=>true, 'chosen'=>true, 'tl_class'=>'w50'),
183 183
             'sql'                       => "int(10) unsigned NOT NULL default '0'"
184 184
         ),
185 185
         'nc_notification_slots' => array
186 186
         (
187 187
             'exclude'                   => true,
188 188
             'inputType'                 => 'select',
189
-            'eval'                      => array('mandatory'=>true,'includeBlankOption'=>true, 'chosen'=>true, 'tl_class'=>'w50'),
189
+            'eval'                      => array('mandatory'=>false,'includeBlankOption'=>true, 'chosen'=>true, 'tl_class'=>'w50'),
190 190
             'sql'                       => "int(10) unsigned NOT NULL default '0'"
191 191
         ),
192 192
         'nc_notification_groups' => array