Browse code

Merge pull request #2 from cliffparnitzky-forks/allow_mandatory_option

Allow the `mandatory` option in the field configuration

Hagen Klemp authored on08/10/2021 17:11:54 • GitHub committed on08/10/2021 17:11:54
Showing1 changed files
... ...
@@ -15,6 +15,7 @@
15 15
  * Additions tl_form_field
16 16
  */
17 17
 $GLOBALS['TL_DCA']['tl_form_field']['palettes']['signature'] = '{type_legend},type,name,label;'
18
+                                                              .'{fconfig_legend},mandatory;'
18 19
                                                               .'{size_legend},sig_size;'
19 20
                                                               .'{expert_legend:hide},class,sig_bgcolor,sig_color,sig_width;'
20 21
                                                               .'{template_legend:hide},customTpl;'