Hi Everyone,
I am trying to create a dialog where I need a check box with a heading, which looks something like below image.
The problem here is if I use heading as a resource type, field description is not appearing in that case.
Can anyone please help me with what resource type should I use here for "Visibility in Search bar" title, so that I get to use the field Description as well.
Any help will be appreciated. Thanks.
@arunpatidar @Sachin_Arora_ @Jörg_Hoh @Mohit_KBansal @ksh_ingole7@lukasz-m
Solved! Go to Solution.
Views
Replies
Total Likes
I think you might be looking for fieldset. If you just want to warp the checkbox and other field within container then use fieldset as container.
e.g.
Although none of the container provide descriptions , you can use headline as description along with fieldset title. This description would not be as tooltip but as a text, will serve the purpose tho.
Hi,
You can use heading resource type
/libs/granite/ui/components/coral/foundation/heading A heading component to represent HTML h1 - h6.
I think you might be looking for fieldset. If you just want to warp the checkbox and other field within container then use fieldset as container.
e.g.
Although none of the container provide descriptions , you can use headline as description along with fieldset title. This description would not be as tooltip but as a text, will serve the purpose tho.
Hi I am currently using heading but i want a field description along with that which I m not getting in case of heading.
As mentioned here
heading resource supports just level and text
Only form fields that extend https://developer.adobe.com/experience-manager/reference-materials/6-5/granite-ui/api/jcr_root/libs/... have support for field description.
If you want such behavior with heading resource you might need to write your own custom code for the same.
Views
Likes
Replies