aem-core-forms-components icon indicating copy to clipboard operation
aem-core-forms-components copied to clipboard

Adding dropdown values on field initialization using custom functions

Open shravanthprasad opened this issue 1 year ago • 4 comments

We are not able to set dropdown enum and enumNames on field initialization. ex: http://localhost:4502/content/forms/af/core-components-it/samples/customfunctions/populate-dropdown.html

image

AEM version 6.5.20 Core forms component version 1.1.38

shravanthprasad avatar Aug 05 '24 15:08 shravanthprasad

@shravanthprasad This issue was recently resolved in this commit: https://github.com/adobe/aem-core-forms-components/commit/d4417e518f48c2c1e759cde151da2687c9f7dfb9. Please update to the latest core component version compatible with 6.5.20 as detailed here: https://github.com/adobe/aem-core-forms-components/blob/release/650/VERSIONS.md.

rismehta avatar Aug 06 '24 05:08 rismehta

Hi @rismehta can we have this patch added on top of v1.1.38 version as we are in the process of upgrade to SP20 with core components v2.24.2. The QA is done and Go Live is planned mid august. Updating Core Components Version to 2.24.6 might put this plan at risk

shravanthprasad avatar Aug 06 '24 06:08 shravanthprasad

@shravanthprasad Updating the core component version (1.1.46) for forms should be straightforward. you need to just adjust the Maven coordinates in the archetype project. Additionally, core components typically maintain backward compatibility thanks to the strict versioning practices in place.

rismehta avatar Aug 06 '24 08:08 rismehta

@shravanthprasad I have created a hotfix addressing the issue mentioned, on top of version 1.1.38. You can find the hotfix here.

Please confirm if this release resolves the use case as expected.

rismehta avatar Aug 07 '24 10:08 rismehta