Function's Category switches to "New Enumerator 0" automatically

Both of these functions have the same enumerator as input.
Whenever I set the category of the function , it switches back to “New Enumerator 0”.

The Enum:

Anyone knows something about this one?

I’m suffering from the same problem.

It usually does this when you’re chosen a duplicate or invalid variable name.
Try another name and see if it works.

Your suggestion did it mightyenigma. Changed the input variable name from ‘Category’ to ‘Of Category’ and that’s it. Thanks.