3D Object and Input Field

I have multiple Cubes. Each cube has a TextMeshPro object with text on it.
i would like a user to click on the cube and be able to edit text.
when i make UI InputField or UI Text Mesh Pro Inputfield , the object does not show content.
any other ideas to edit text on 3d object in the game?

I guess nobody has any ideas :frowning: