Hello,

There is an open PR for "dependent properties" which will hopefully be
merged soon, but I think it is slightly different than what you are
asking for.

The idea is that some properties should only be shown based on how
another property is configured, i.e. changing a strategy property to
strategy1 should remove any properties relevant to other strategies so
the user doesn't have to see a bunch of stuff that isn't relevant.

In your scenario it isn't adding/removing whole properties, but
updating the values of a property. Not sure that has been considered
yet.

You basically have to implement customValidate and implement logic
that makes the processor invalid if your two properties have values
that shouldn't be used together.

-Bryan

On Wed, Oct 14, 2020 at 10:27 AM Jeremy Dyer <[email protected]> wrote:
>
> Hello,
>
> Is it possible to have valid values for a PropertyDescriptor change based
> on another selection?
>
> Ex: I have a ControllerService Property and if I change that
> ControllerService in the dropdown I would like the valid values for another
> Property to be changed in the UI.
>
> I'm thinking this isn't really possible since the logic occurs on the
> backend after "Apply" has been pressed. I know I can "Apply" and
> reconfigure to see the new values but would like something more immediate.
>
> Thanks!
> Jeremy Dyer

Reply via email to