Greetings,
I've been searching to see if there's a way to dynamically change the inputs you see in a sharepoint list when calling an on demand flow on a list item.
I want the inputs to change based on each other's values, but not sure how to do it, or if it can be done at all.
Take this trigger for instance.

It has these two inputs, Recurrence type and Number of recurrences, let's group them into group A for argument's sake.
Here's what it looks like in Sharepoint:

Now, let's consider two additional inputs as Group B, regardless of the input types.
My goal is to have a text input - outside of groups A and B - with two choices, If I pick one choice, I see group A, if I pick the other, I see group B.
It would be even better if I could also change not just the visibility, but also whether the inputs are required or not.
Any help is appreciated.