This PR enhances the rendering of fields in editing mode for editMode metadata. When a field value is empty, a placeholder content should be rendered to signify that the field has no value. The placeholder should be interactable, so user can add value to the field. Additionally developers can provide their own custom empty field template via the field directive's emptyFieldEditingTemplate imput property, which will be rendered instead of the default one.
The fields with this functionality are:
The PR also includes update to the GenericFieldValue base package type to accept Date type; this change has been made in order to make the base type compatible with the field date type defined in the angular package
Testing Details
[x] Unit Test Added
[ ] Manual Test/Other (Please elaborate)
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description / Motivation
This PR enhances the rendering of fields in editing mode for editMode metadata. When a field value is empty, a placeholder content should be rendered to signify that the field has no value. The placeholder should be interactable, so user can add value to the field. Additionally developers can provide their own custom empty field template via the field directive's emptyFieldEditingTemplate imput property, which will be rendered instead of the default one. The fields with this functionality are:
The PR also includes update to the GenericFieldValue base package type to accept Date type; this change has been made in order to make the base type compatible with the field date type defined in the angular package
Testing Details
Types of changes