Dynamic dropdown updates in Component Nodes

In a component node.

If I have a user selecting an option from a dropdown, is it possible for a subsequent dropdown to be updated.

i.e. Whatever is selected in the first dropdown, controls what options are available in the second dropdown. I cannot find a way to make this happen making me wonder if this is even possible to do.