New nametags (no previous label) cannot be named in an anvil by clicking in the name field and typing. Instead, we need to get to the field using the TAB key on the keyboard.
If a nametag has previously been given a label, it works fine.
Related issues
duplicates
Attachments
Comments

[media][media]

Duplicate of MC-173725

@Stannya, thanks - just had that pointed out to me as well! I was searching on "nametag", without realising it affected other items in the anvil.
EDIT: Can't see a way to mark it as duplicate myself, a mod may need to do it.