Skip to content

UE: Support for fd:customDisplayFormat #1619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

TalmizAhmed
Copy link
Contributor

Same issue being faced in UE as this PR

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes and the overall coverage did not decrease.
  • All unit tests pass on CircleCi.
  • I ran all tests locally and they pass.

@TalmizAhmed TalmizAhmed requested a review from rismehta June 18, 2025 06:14
Copy link

codecov bot commented Jun 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.51%. Comparing base (9fce828) to head (14594db).

Additional details and impacted files
@@             Coverage Diff              @@
##                dev    #1619      +/-   ##
============================================
+ Coverage     82.50%   82.51%   +0.01%     
- Complexity     1010     1011       +1     
============================================
  Files           108      108              
  Lines          2623     2625       +2     
  Branches        378      378              
============================================
+ Hits           2164     2166       +2     
  Misses          270      270              
  Partials        189      189              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@@ -165,6 +169,9 @@ public String getPlaceHolder() {
@Override
@Nullable
public String getDisplayFormat() {
if (customDisplayFormat != null) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is confusing, we already have displayFormat property for this, why do you need fd:customDisplayFormat ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rismehta The property displayFormat is used for OOTB display formats and custom display formats, which does not allow us to support custom formats in UE. Therefore I have created a separate property just like for the Multiselect in dropdown PR
cc: @jalagari @ravise5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants