stable

Clone or download

Read-only

Fieldset is not hidden if it contains a mandatory field

This is part of story #12188 hide fieldsets according to state This work with fields directly inside the fieldset or inside a container inside this fieldset, etc. Change-Id: I49eb897537dc33c3e7df9b50dd8b3108c3d295b3

Modified Files

Name
A plugins/tracker/include/Tracker/FormElement/Container/FieldsExtractor.php +59 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Container/Fieldset/HiddenFieldsetChecker.php +18 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Container.class.php +6 −4 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Container_Fieldset.class.php +3 −1 Go to diff View file
A plugins/tracker/phpunit/Tracker/FormElement/Container/FieldsExtractorTest.php +84 −0 Go to diff View file
M plugins/tracker/phpunit/Tracker/FormElement/Container/Fieldset/HiddenFieldsetCheckerTest.php +48 −3 Go to diff View file