Get the value of <anvil.Component object>

You are not alone, I encountered the same issue when starting a few weeks ago.
Please see these posts: