Improve custom field select options validation
What does this MR do and why?
Use our own uniqueness validation so that we also validate uniqueness across unpersisted items
References
Related to #536186 (closed)
How to set up and validate locally
- Create a select-type custom field and add options with the same value
- After saving, it should show a user-friendly error message instead of a 500
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Heinrich Lee Yu