fixes #5028 Relating to a widget does not display fields correctly
Merge pull request #5055 from dotCMS/issue-5028-Relating-to-a-widget-does-not-display-fields-correctly

fixes #5028 Relating to a widget does not display fields correctly