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 way to customize a date format for a built-in date picker of the ConditionBuilder. Looking at the source code, both the fate format and the placeholder format appear to be hardcoded as d/m/Y:
@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version
2.57.0
Suggested Severity
Severity 2 = Aspects of design is broken, and impedes users in a significant way, but there is a way to complete their tasks. Affects major functionality, has a workaround.
Use a ConditionBuilder component with any filter of type "date". The built-in picker that shows up cannot be customised and in our use case, forces the team to implement a custom component.
Package
Carbon for IBM Products
Description
There is currently no way to customize a date format for a built-in date picker of the ConditionBuilder. Looking at the source code, both the fate format and the placeholder format appear to be hardcoded as
d/m/Y
:Component(s) impacted
ConditionBuilder
Browser
Chrome, Safari, Firefox, Microsoft Edge
@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version
2.57.0
Suggested Severity
Severity 2 = Aspects of design is broken, and impedes users in a significant way, but there is a way to complete their tasks. Affects major functionality, has a workaround.
Product/offering
IBM
CodeSandbox or Stackblitz example
https://codesanbox.io
Steps to reproduce the issue (if applicable)
Use a ConditionBuilder component with any filter of type "date". The built-in picker that shows up cannot be customised and in our use case, forces the team to implement a custom component.
Release date (if applicable)
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: