How do I set select component options based on another select component

I have two cascading select components. I need to set the options of the second one based on the selection of the first. How do I do that?

@dk253 Welcome to the forum!
You should trigger a query to set the options of the second select component based on the first one. Or you can write logic in the second select component to display options based on the first selected component....if you can share some screenshots and example data, it will help the forum help you