Expand my Community achievements bar.

SOLVED

How to display text in particular view mode

Avatar

Level 1

<sly data-sly-test.editor="${wcmmode.edit || wcmmode.design}"></sly>

<div id=" " class="${editor?'abcd xyz myclass':'abcd xyz'}">

     ........

</div>

I Found this answer but I can't use

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@Vindiesel 

Which component are you referring to? Could you elaborate?

There is an option to add text as a placeholder for most components, so you can check that.

More information - https://experienceleague.adobe.com/docs/experience-manager-64/forms/adaptive-forms-basic-authoring/p... 

Hope this helps!

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

@Vindiesel 

Which component are you referring to? Could you elaborate?

There is an option to add text as a placeholder for most components, so you can check that.

More information - https://experienceleague.adobe.com/docs/experience-manager-64/forms/adaptive-forms-basic-authoring/p... 

Hope this helps!

Avatar

Employee Advisor

@Vindiesel Please share the snippet of the component, and implementation.