In my dialog I can add a container and will create a tab, but is it possible to put an select field with predefined icons to author select an icon to each tab created ?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @NathanVieira , Yes it is possible.
First we need to override `core/wcm/components/commons/editor/dialog/childreneditor/v1/childreneditor`. and update childeditor.html with the custom fields that we want to add and also modify the childeditor.js logic to read the values and show up in the dialog.
Point this overridden childreneditor to our tabs component dialog containeritems.
Add your custom clientlibs to our dialog to extraclientlibs property in place of core.wcm.components.commons.editor.dialog.childreneditor.v1
Hope this helps,
Krishna
Hi @NathanVieira ,
You can create a custom component inheriting the core Tabs component, and override the cq:dialog for the desired functionality. This is documented in the "Customizing Dialogs" section in the link https://experienceleague.adobe.com/docs/experience-manager-core-components/using/developing/customiz....
Thanks,
Fani
Hi @NathanVieira , Yes it is possible.
First we need to override `core/wcm/components/commons/editor/dialog/childreneditor/v1/childreneditor`. and update childeditor.html with the custom fields that we want to add and also modify the childeditor.js logic to read the values and show up in the dialog.
Point this overridden childreneditor to our tabs component dialog containeritems.
Add your custom clientlibs to our dialog to extraclientlibs property in place of core.wcm.components.commons.editor.dialog.childreneditor.v1
Hope this helps,
Krishna
Can you show me your code to override childreneditor and js logic please? I can't display the same result in Touch UI and I don't understand why
Views
Replies
Total Likes
Hai @NathanVieira did you got the solution , i too have the same requirement ,it will be helpful to me if you provide what you got
Views
Replies
Total Likes
Hai @krishna_sai Can you please provide the codes , i too have override the childreneditor and pointed it to new childreneditor in dialog node but when i saving the changes after adding tabs it is showing persistance error
@krishna_sai - Can you elaborate on how you modified childreneditor.js?
Views
Replies
Total Likes
@ct925 let me DM you
Views
Replies
Total Likes
Hello - would you be able to share the code updates for this? Thanks!
Views
Replies
Total Likes
Hi @krishna_sai , I have the similar requirement ,can you please provide reference to modify the childreneditor.js.
Views
Replies
Total Likes
Can you explain more or do you have the github project for reference.
Views
Replies
Total Likes
Hi @krishna_sai ,
We are also having similar requirement.
Can you please share the js code?
Thanks in advance!!
Views
Replies
Total Likes