Category name too long, even when i make it shorter again

I noticed that if I type a category name which is one char too long and then remove 1 char, I can still not create the category. I have to remove a few more chat before the create button is clickable again.

Hmmm … what is the exact repro here?

Make a new caregory
Type a log name for it
The create button is grey
Shorten the name just a bit
Tge create button is still grey
Shorten until the create button is normal
Now add one or two more carscters again
The create button is still normal