since ‎01-01-2018
‎13-10-2020
maheswariv26797
Level 1
Re: Default entries in multifield with different default...
Avatar

Anudeep_Garnepudi

Anudeep_Garnepudi
- Adobe Experience Manager
Hi @maheswariv26797 You need to write a custom listener and based on multifield item count set the different values to the specific field with in multifield.AG

Views

7

Likes

0

Replies

0
Re: Listeners for multifield in aem classic ui
Avatar

Anudeep_Garnepudi

Anudeep_Garnepudi
- Adobe Experience Manager
Hi @maheswariv26797 It seems you are using the exact selectionchange code snippet in dialog load as well. That won't work. You should change the code little bit onload.dialog itself is the parameter to loadcontent function, no need to get dialog againget ./cardvalues directly using field this.value won't work here as this function is executing on context of dialog, it will work for selection dropdown because listener is set to selectIn place of this.value, get the select dropdown from field/dial...

Views

25

Like

1

Replies

0
Re: Json Values in nested multifield
Avatar

Manjunathh

Manjunathh
- Adobe Experience Manager
@maheswariv26797 You’re welcome 🙂

Views

106

Likes

0

Replies

0
Re: nested multifield in aem classic ui
Avatar

Jineet_Vora

Jineet_Vora
- Adobe Experience Manager
Hello @maheswariv26797, Please check this article if it helps:http://experience-aem.blogspot.com/2015/06/aem-61-classic-ui-nested-composite-multifield-panel.html?m=1Jineet

Views

77

Like

1

Replies

0
Re: Default Values are not getting displayed when compone...
Avatar

BrianKasingli

MVP

BrianKasingli
- Adobe Experience Manager
@maheswariv26797, can you please share your setup?The dialogue configuration and also the dataset? At the meantime, check out this stack overflow post, https://stackoverflow.com/questions/41255582/drop-down-values-selected-in-classic-dialog-doesnt-show-same-value-in-touch-ui

Views

101

Likes

2

Replies

0
Re: Disable delete button in multifield for particular tabs
Avatar

Arun_Patidar

MVP

Total Posts

(val/1000)?string[".0"]}K

Likes

958

Correct Answer

820
Arun_Patidar
- Adobe Experience Manager
You need to write custom js like below, I am disabling ADD button in multi field when button are more than 2, you can disabled delete button based on particulate content change.(function($, $document) { "use strict"; $(document).ready(function() { const CTA_SELECTOR = '.cmp-teaser__editor-multifield_actions'; const CTA_ADD_BTN = '.cmp-teaser__editor-multifield_actions > button.coral3-Button--secondary'; const MULTI_ITEM = 'coral-multifield-item'; $document.on("dialog-ready", function() { let ite...

Views

85

Likes

2

Replies

0