File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ class PluginFormcreatorQuestion extends CommonDBChild implements
5252 static public $ items_id = 'plugin_formcreator_sections_id ' ;
5353
5454 /** @var PluginFormcreatorFieldInterface|null $field a field describing the question denpending on its field type */
55- private ?PluginFormcreatorFieldInterface $ field = null ;
55+ public ?PluginFormcreatorFieldInterface $ field = null ;
5656
5757 private $ skipChecks = false ;
5858
Original file line number Diff line number Diff line change 7070 input_class : ' col-xxl-8' ,
7171 }) }}
7272 {% endif %}
73+
74+ {{ fields.nullField ({
75+ label_class : ' col-xxl-4' ,
76+ input_class : ' col-xxl-8' ,
77+ }) }}
78+
79+ {{ fields.dropdownYesNo (
80+ ' required' ,
81+ item .field .getField ().fields['mandatory' ],
82+ __(' Required' , ' formcreator' ), {
83+ label_class : ' col-xxl-4' ,
84+ input_class : ' col-xxl-8' ,
85+ disabled : true ,
86+ }
87+ ) }}
88+
7389{% endblock %}
You can’t perform that action at this time.
0 commit comments