fixes #5976 Problems trying to enable the mandatory field
Merge pull request #5977 from dotCMS/issue-5976-problems-trying-to-enable-the-mandatory-field

fixes #5976 Problems trying to enable the mandatory field