Skip to main content
Level 3
November 27, 2023
Solved

Hey! All I have a requirement to customize button component

I need to remove the check box from the button component. but in the dialog structure, I didn't see linkTarget filed.I'm using button/v2

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
aanchal-sikka
aanchal-sikkaAccepted solution
Community Advisor
November 27, 2023

@anilkumar9 

Open in a new Tab is rendering from /libs/core/wcm/components/commons/editor/dialog/link/v1/link/edit/link/items/target

 

/libs/core/wcm/components/button/v2/button/cq:dialog/content/items/tabs/items/properties/items/columns/items/column/items/link includes the dialog of Link component, which in turn has the checkbox.

 

If you would need to extend the button component and override the relevant fields to hide the checkbox.

Aanchal Sikka

2 replies

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
November 27, 2023

@anilkumar9 

Open in a new Tab is rendering from /libs/core/wcm/components/commons/editor/dialog/link/v1/link/edit/link/items/target

 

/libs/core/wcm/components/button/v2/button/cq:dialog/content/items/tabs/items/properties/items/columns/items/column/items/link includes the dialog of Link component, which in turn has the checkbox.

 

If you would need to extend the button component and override the relevant fields to hide the checkbox.

Translate
Aanchal Sikka
Level 3
November 27, 2023

Thank you

Translate