Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Level 1
Level 2
Melden Sie sich an, um alle Badges zu sehen
Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Hi,
I have given fieldDescription. But all text coming in single line.
What should I use for New Line?
<selectPath
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/pathbrowser"
fieldLabel="Mobile Image"
fieldDescription="Some Text In Line One. I want This text in Line Two. This Text in Line Three"
rootPath="/content"
name="./selectPath"/>
Please suggest
Gelöst! Gehe zu Lösung.
Zugriffe
Antworten
Likes gesamt
Hi,
you can do this just only inserting "new line" inside property. Without any special character but only using your submit button.
I've tried it in AEM 6.2 and it works.
Zugriffe
Antworten
Likes gesamt
Hi,
Discuss with your UI team for a proper css style. Otherwise you can try with adding <br/>
Thanks,
Zugriffe
Antworten
Likes gesamt
I have tried <br/>
and also <p> tags
but I did not get text in new line. Is there any other way to achieve this without css team.?
Zugriffe
Antworten
Likes gesamt
Hi,
you can do this just only inserting "new line" inside property. Without any special character but only using your submit button.
I've tried it in AEM 6.2 and it works.
Zugriffe
Antworten
Likes gesamt
In my case, i've a requirement to include new line in the text present in Fieldlabel. What exactly needs to be done when u say add a new line property? Can you be more specific?
Zugriffe
Antworten
Likes gesamt
I guess he suggests to add another property with the following text.
Example:
<text1 jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/text"
text="first line"/>
<text2 jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/text"
text="second line"/>
Zugriffe
Antworten
Likes gesamt
Zugriffe
Antworten
Likes gesamt
Zugriffe
Likes
Antworten
Zugriffe
Likes
Antworten