console icon indicating copy to clipboard operation
console copied to clipboard

fieldDependency descriptor only has AND condition option

Open rahulsb opened this issue 3 years ago • 2 comments
trafficstars

As per the documentation : https://github.com/openshift/console/blob/master/frontend/packages/operator-lifecycle-manager/src/components/descriptors/reference/reference.md#20-fielddependency

I'm using two fieldDependency descriptor for my attribute . I do understand that , the dependent field ( which is of type booleanSwitch) will be enabled when the 2 dependency has the exact values as mentioned in the descriptor In this usecase, the field OperationOption is a drop down to select one value. I need to enable the dependent field when any of the fieldDependency specified in that is true. A kind of an OR operation instead of always AND.

I want to enable my dependent field when any of the specified fieldDependency is true vs all dependency true ( which is current behaviour ). xDescriptors={"urn:alm:descriptor:com.tectonic.ui:booleanSwitch","urn:alm:descriptor:com.tectonic.ui:fieldDependency:allApplications:false","urn:alm:descriptor:com.tectonic.ui:fieldDependency:OperationOption:backup"}

rahulsb avatar Apr 12 '22 12:04 rahulsb

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

openshift-bot avatar Jul 11 '22 13:07 openshift-bot

I don't believe this is possible today. @TheRealJon Do you know?

/remove-lifecycle stale

spadgett avatar Jul 25 '22 18:07 spadgett

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

openshift-bot avatar Oct 24 '22 09:10 openshift-bot

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten /remove-lifecycle stale

openshift-bot avatar Nov 24 '22 00:11 openshift-bot

/remove-lifecycle stale /remove-lifecycle rotten /lifecycle frozen

rahulsb avatar Nov 24 '22 04:11 rahulsb