[Enumeration field] Number of underscores not counting for duplicate check?

System Information
  • Strapi Version: 4.5.4
  • Operating System: Alpine
  • Database: SQLite
  • Node Version: 16.19.0
  • NPM Version: 8.19.3
  • Yarn Version: 1.22.19

I’m trying to add this enumeration field with the following data, but get the “Duplicate values are not allowed (only alphanumeric characters are taken into account).” error:


The only difference between these 2 lines are the two extra underscores on the second line, so it should not count as a duplicate?

Removing the ‘o’ from ‘Pro’ on the second line seems to pass the validation check.

Either it’s a bug or I’m missing something that maybe someone can shed some light on :slight_smile: