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?
表示
返信
いいね!の合計
@ct925 let me DM you
表示
返信
いいね!の合計
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?
表示
返信
いいね!の合計