Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Setting Component policy for nested component

ChandraShiggaon
Level 1
Level 1

We have a component 'tabs' in our project and inside that we have a 'subtab' component

crx structure:

/apps/proj/components/layout/tabs

/apps/proj/components/layout/tabs/subtab

 

I am facing multiple issues

  • I am unable to see the 'subtab' component in template structure option though I have included in template policy. I can see 'tabs' component.
  • I have added component policy (style-system) for 'tabs' component and I see styles changing for it
  • I have added similar policy for 'subtab' component from 'crx/de' and can see style-system option while authoring page, but styles are not changed.

Please help me on this.

2 Replies
Vijayalakshmi_S
Community Advisor
Community Advisor

Hi @ChandraShiggaon,

Could you please share details about your component. 

  • Is the tabs component a completely custom one or it is created extending/making use of Core Tabs component. 
  • Resource that your component use. (Dialog field resource)