Morning!
Welcome to the forums.
You’d want to utilize callbacks for this such that when you select an option in dropdown 1, it loads and/or updates the options in dropdown 2.
https://community.plotly.com/t/callback-interaction-between-2-core-components/24161
If you look in this post there is an example to get you started.