- Issue created by @dieterholvoet
- Merge request !22Only show red asterisk when the field is actually required → (Open) created by dieterholvoet
Currently, the red asterisk indicating that a field is required always shows, also when the field is optional through a required strategy.
When a required strategy uses global information from e.g. the currently logged in user, it could not show the asterisk when displaying the entity form. When the requiredness is dependent on a field value of the same entity, e.g. in the case of Required by Content Moderation state → , we wouldn't be able to do this unless we reload the whole form using AJAX.
Hide the required asterisk when the field is not required when loading the entity form.
Active
3.0
Code