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 ?
해결되었습니다! 솔루션으로 이동.
조회 수
답글
좋아요 수
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
조회 수
답글
좋아요 수
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
조회 수
답글
좋아요 수
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?
조회 수
답글
좋아요 수
Hello - would you be able to share the code updates for this? Thanks!
조회 수
답글
좋아요 수
Hi @krishna_sai , I have the similar requirement ,can you please provide reference to modify the childreneditor.js.
조회 수
답글
좋아요 수
Can you explain more or do you have the github project for reference.
조회 수
답글
좋아요 수
Hi @krishna_sai ,
We are also having similar requirement.
Can you please share the js code?
Thanks in advance!!
조회 수
답글
좋아요 수
Can you share please that code?
Thank you so much!
조회 수
답글
좋아요 수
Hi
Do you have example sample code snippet or reference in github for this?
조회 수
답글
좋아요 수