Prevent block placing

Is there a component to stop a block from being placed. I tried !minecraft:can_place_on but that didnt seem to work
Continue to help post