File tree 2 files changed +17
-1
lines changed
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
52
52
static public $ items_id = 'plugin_formcreator_sections_id ' ;
53
53
54
54
/** @var PluginFormcreatorFieldInterface|null $field a field describing the question denpending on its field type */
55
- private ?PluginFormcreatorFieldInterface $ field = null ;
55
+ public ?PluginFormcreatorFieldInterface $ field = null ;
56
56
57
57
private $ skipChecks = false ;
58
58
Original file line number Diff line number Diff line change 70
70
input_class : ' col-xxl-8' ,
71
71
}) }}
72
72
{% 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
+
73
89
{% endblock %}
You can’t perform that action at this time.
0 commit comments