-
Enhancement
-
Resolution: Done
-
Major
-
9.0.0.Final
-
None
We should be able to significantly reduce the amount of duplicate code if we create a directive for handling generic fields that are found across the console. Where a generic field consists of a label, input field, tooltip and undo/restart required fields. Currently the logic for these fields is repeated, in some cases with small variations, across multiple directives.
It should be possible to create a directive that takes in the appropriate metadata,prevData and data objects for a specified field and handles the setting/unsetting of style data internally within the new directive.