The 'supported_items' field on an enchantment seems to be ignored for custom enchantments. For example, setting the following: "supported_items": "minecraft:shield"
still allows the enchantment to be applied to any item using an anvil. This also seems to be the case when specifying tags or lists or items in the supported_items field.
Does this issue happen in Creative mode only? Or all game modes?