You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is currently no sufficient level of control over displayed values of custom components in the ConditionBuilder.
My use case is such that I would like to operate on ISO dateTime values, but display something completely different (e.g. "is past 4 days"), as can be seen in the screenshot below:
The getValue() function (available in source code)) should be extended to allow mor granular control over what is displayed as value (allowing to customise the logic or add a callback function, instead of simply returning the value):
@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version
2.50.0
Suggested Severity
Severity 1 = The design is broken in a critical way that blocks users from completing tasks or damages the brand. Affects major functionality, no workaround.
Package
Carbon for IBM Products
Description
There is currently no sufficient level of control over displayed values of custom components in the ConditionBuilder.
My use case is such that I would like to operate on ISO dateTime values, but display something completely different (e.g. "is past 4 days"), as can be seen in the screenshot below:
The
getValue()
function (available in source code)) should be extended to allow mor granular control over what is displayed as value (allowing to customise the logic or add a callback function, instead of simply returning the value):Component(s) impacted
ConditionBuilder
Browser
Chrome, Safari, Firefox, Microsoft Edge
@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version
2.50.0
Suggested Severity
Severity 1 = The design is broken in a critical way that blocks users from completing tasks or damages the brand. Affects major functionality, no workaround.
Product/offering
IBM
CodeSandbox or Stackblitz example
https://codesandbox.io
Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: