Fix the red-border in required field

- fixed the red-border in required field

https://www.openproject.org/work_packages/14593