Nested selectors in data entry flow

Hi,

For a custom component, I’m trying to set up a data entry flow.
In this I like to have a selector, that has two exclusive options “import all devices” & “only devices in groups”
If the the latter is selected, it should be possible to select the groups in a multi-select, that is nested in the first one.
And if possible, the nested multi-select should be disabled if the first option is selected in the outer selection.

I found no clue anywhere on how to achieve this.
Is it possible in the first place?

Best regards
Markus

You will need to do this as steps in your flow. So first step, select your all devices or group devices, in the next step, have your multi select based on first step result.

Thank you!