# \#fragments

**URL:** https://discuss.liferay.com/tag/fragments/40.md

[Latest](https://discuss.liferay.com/latest.md) · [Categories](https://discuss.liferay.com/categories.md) · [Tags](https://discuss.liferay.com/tags.md)

---

## [Allow Fragment Configuration FieldSets to Be Collapsed by Default](https://discuss.liferay.com/t/allow-fragment-configuration-fieldsets-to-be-collapsed-by-default/424)

<div class="topic-metadata">

**Author:** [@jconrad](https://discuss.liferay.com/u/jconrad)\
**Replies:** 1\
**Last updated:** [November 4, 2026, 4:42pm UTC](https://discuss.liferay.com/t/allow-fragment-configuration-fieldsets-to-be-collapsed-by-default/424 "2026-11-04T16:42:14Z")

</div>

What is the problem you are trying to solve? Fragments allow developers to define custom configuration panels using the fragment json window. These configurations support grouping fields using fieldSets, but all fieldSe…

---

## [Allow Fields (and Fieldsets) in Fragment Config to be displayed depending on the value of a Field in any other Fieldset](https://discuss.liferay.com/t/allow-fields-and-fieldsets-in-fragment-config-to-be-displayed-depending-on-the-value-of-a-field-in-any-other-fieldset/573)

<div class="topic-metadata">

**Author:** [@turnstok](https://discuss.liferay.com/u/turnstok)\
**Replies:** 4\
**Last updated:** [September 8, 2026, 2:14pm UTC](https://discuss.liferay.com/t/allow-fields-and-fieldsets-in-fragment-config-to-be-displayed-depending-on-the-value-of-a-field-in-any-other-fieldset/573 "2026-09-08T14:14:04Z")

</div>

What is the problem you are trying to solve? Conditional Field visibility across Fieldsets in Fragment configuration. The ability to make one Field in a Fieldset dependent on the value of another provides a great oppor…

---

## [Allow collectionSelector fragment configuration fields to select all collection provider types when no itemType is specified](https://discuss.liferay.com/t/allow-collectionselector-fragment-configuration-fields-to-select-all-collection-provider-types-when-no-itemtype-is-specified/919)

<div class="topic-metadata">

**Author:** [@Jan\_Binder](https://discuss.liferay.com/u/Jan_Binder)\
**Replies:** 0\
**Last updated:** [September 1, 2026, 9:59am UTC](https://discuss.liferay.com/t/allow-collectionselector-fragment-configuration-fields-to-select-all-collection-provider-types-when-no-itemtype-is-specified/919 "2026-09-01T09:59:28Z")

</div>

Hello, I would like to request an improvement for the collectionSelector configuration field in fragments. Current behavior When creating a Search Blueprint and enabling it to be usable as a collection, the resulting c…

---

## [Feature Request: Ability to Fully Exclude Hidden Fragments From Published HTML Output](https://discuss.liferay.com/t/feature-request-ability-to-fully-exclude-hidden-fragments-from-published-html-output/203)

<div class="topic-metadata">

**Author:** [@pavel.sach-m](https://discuss.liferay.com/u/pavel.sach-m)\
**Replies:** 2\
**Last updated:** [July 22, 2026, 2:00pm UTC](https://discuss.liferay.com/t/feature-request-ability-to-fully-exclude-hidden-fragments-from-published-html-output/203 "2026-07-22T14:00:59Z")

</div>

We would like to request a new feature (or enhancement to existing behaviour) that allows editors to hide fragments in the page editor in a way that removes them entirely from the published HTML output. Currently, hidden…

---

## [Passing query parameter in the restClient call from a fragment](https://discuss.liferay.com/t/passing-query-parameter-in-the-restclient-call-from-a-fragment/751)

<div class="topic-metadata">

**Author:** [@granjodh](https://discuss.liferay.com/u/granjodh)\
**Replies:** 0\
**Last updated:** [June 24, 2026, 6:52pm UTC](https://discuss.liferay.com/t/passing-query-parameter-in-the-restclient-call-from-a-fragment/751 "2026-06-24T18:52:15Z")

</div>

Hi All We are using restClient to get some object entries in a fragment with below code - \[#assign countriesApiUrl = “/c/countries?page=1&pageSize=40”\] \[#assign countriesResponse = restClient.get(countriesApiUrl)\] W…

---

## [Item Selector in Custom Fragment Should Return Rendered HTML for Web Content Articles](https://discuss.liferay.com/t/item-selector-in-custom-fragment-should-return-rendered-html-for-web-content-articles/714)

<div class="topic-metadata">

**Author:** [@jconrad](https://discuss.liferay.com/u/jconrad)\
**Replies:** 0\
**Last updated:** [June 9, 2026, 9:42am UTC](https://discuss.liferay.com/t/item-selector-in-custom-fragment-should-return-rendered-html-for-web-content-articles/714 "2026-06-09T09:42:39Z")

</div>

What is the problem you are trying to solve? Display a Web Content Article in a Fragment using the Item Selector When creating a custom fragment, it is possible to define an itemSelector in the configuration section: h…

---

## [Fragment "container": add 'gap' configuration and responsive behaviour](https://discuss.liferay.com/t/fragment-container-add-gap-configuration-and-responsive-behaviour/169)

<div class="topic-metadata">

**Author:** [@ldetomi](https://discuss.liferay.com/u/ldetomi)\
**Replies:** 2\
**Last updated:** [June 1, 2026, 9:49am UTC](https://discuss.liferay.com/t/fragment-container-add-gap-configuration-and-responsive-behaviour/169 "2026-06-01T09:49:37Z")

</div>

What is the problem you are trying to solve? “Container” fragment can be configured as a “flex row” (or “flex column”). Actually Liferay allows to set corresponding css properties such as “align-items”, “justify-content…

---

## [Choose fragments nestable in fragments drop-zone (and maybe choose wich fragment, directly from code)](https://discuss.liferay.com/t/choose-fragments-nestable-in-fragments-drop-zone-and-maybe-choose-wich-fragment-directly-from-code/364)

<div class="topic-metadata">

**Author:** [@ldetomi](https://discuss.liferay.com/u/ldetomi)\
**Replies:** 3\
**Last updated:** [June 1, 2026, 9:47am UTC](https://discuss.liferay.com/t/choose-fragments-nestable-in-fragments-drop-zone-and-maybe-choose-wich-fragment-directly-from-code/364 "2026-06-01T09:47:58Z")

</div>

What is the problem you are trying to solve? Multiple drop-zones in fragments are very useful to create a “matrioska” composed website. Anyway, the main limit of this approach is that is not possible to limit “what fra…

---

## [Custom HTML ID support for OOTB fragments](https://discuss.liferay.com/t/custom-html-id-support-for-ootb-fragments/639)

<div class="topic-metadata">

**Author:** [@Priyank\_Gajera](https://discuss.liferay.com/u/Priyank_Gajera)\
**Replies:** 0\
**Last updated:** [May 22, 2026, 12:25am UTC](https://discuss.liferay.com/t/custom-html-id-support-for-ootb-fragments/639 "2026-05-22T00:25:10Z")

</div>

Hi Team, I’d like to propose a small but useful enhancement to the out-of-the-box (OOTB) Container and Heading fragments may be more. Current behavior There is currently no way to assign a custom id attribute to the O…

---

## [ Form Fragment for Assignee Field – User Picker instead of Text Input?](https://discuss.liferay.com/t/form-fragment-for-assignee-field-user-picker-instead-of-text-input/596)

<div class="topic-metadata">

**Author:** [@Tarkan](https://discuss.liferay.com/u/Tarkan)\
**Replies:** 0\
**Last updated:** [May 11, 2026, 4:03am UTC](https://discuss.liferay.com/t/form-fragment-for-assignee-field-user-picker-instead-of-text-input/596 "2026-05-11T04:03:02Z")

</div>

Hi, I have an object definition with an Assignee field. When I generate a form container for it, the field gets mapped to a Text Input fragment. What I actually need is a proper user picker, like the one in the auto-gen…

---

## [Add 'Hint' or 'Tooltip' to fragments configuration fields](https://discuss.liferay.com/t/add-hint-or-tooltip-to-fragments-configuration-fields/591)

<div class="topic-metadata">

**Author:** [@ldetomi](https://discuss.liferay.com/u/ldetomi)\
**Replies:** 0\
**Last updated:** [May 8, 2026, 9:21am UTC](https://discuss.liferay.com/t/add-hint-or-tooltip-to-fragments-configuration-fields/591 "2026-05-08T09:21:55Z")

</div>

What is the problem you are trying to solve? Some custom fragments configuration fields has complex meaning and/or interactions with others, so could be useful to add more information for the editor about their purpose. …

---

## [Forms are easier than the new alternatives (feature-keeping request)](https://discuss.liferay.com/t/forms-are-easier-than-the-new-alternatives-feature-keeping-request/550)

<div class="topic-metadata">

**Author:** [@Fernando\_Fernandez1](https://discuss.liferay.com/u/Fernando_Fernandez1)\
**Replies:** 1\
**Last updated:** [April 24, 2026, 2:33am UTC](https://discuss.liferay.com/t/forms-are-easier-than-the-new-alternatives-feature-keeping-request/550 "2026-04-24T02:33:37Z")

</div>

Hi all The Forms API has been deprecated and Form were put in Maintenance status. This sends the users a clear message: Forms are not going to be available in the future. I’m working with a customer that has 100+ forms…

---

## [Reusable or Dynamic Select Options in Custom Fragment Configuration](https://discuss.liferay.com/t/reusable-or-dynamic-select-options-in-custom-fragment-configuration/449)

<div class="topic-metadata">

**Author:** [@jconrad](https://discuss.liferay.com/u/jconrad)\
**Replies:** 2\
**Last updated:** [March 31, 2026, 6:38am UTC](https://discuss.liferay.com/t/reusable-or-dynamic-select-options-in-custom-fragment-configuration/449 "2026-03-31T06:38:41Z")

</div>

What is the problem you are trying to solve? When creating a Custom Fragment in Liferay, it is possible to define a Select field in the JSON configuration (see: https://learn.liferay.com/w/dxp/development/developing-pag…

---

## [How to prevent the 'sub-navigation' fragment from polluting search results?](https://discuss.liferay.com/t/how-to-prevent-the-sub-navigation-fragment-from-polluting-search-results/475)

<div class="topic-metadata">

**Author:** [@Kristof\_Mols](https://discuss.liferay.com/u/Kristof_Mols)\
**Replies:** 1\
**Last updated:** [March 30, 2026, 9:14am UTC](https://discuss.liferay.com/t/how-to-prevent-the-sub-navigation-fragment-from-polluting-search-results/475 "2026-03-30T09:14:18Z")

</div>

Hi We’re running into an issue where a custom fragment is polluting our search results, and we’re looking for the best way to fix it at scale. We have a custom fragment named ‘sub-navigation’ that is used across roughl…

---

## [Restricting a Custom Fragment Drop Zone to Accept Only Specific Fragments](https://discuss.liferay.com/t/restricting-a-custom-fragment-drop-zone-to-accept-only-specific-fragments/409)

<div class="topic-metadata">

**Author:** [@jconrad](https://discuss.liferay.com/u/jconrad)\
**Replies:** 2\
**Last updated:** [March 16, 2026, 10:46am UTC](https://discuss.liferay.com/t/restricting-a-custom-fragment-drop-zone-to-accept-only-specific-fragments/409 "2026-03-16T10:46:38Z")

</div>

I have several custom fragments that contain a button. The button itself is a Custom Fragment so that the button’s code is maintained in a single place. My custom fragments include a drop zone that is intended exclusiv…

---

## [Add "gap" settings for Container fragment as "flex row" or "flex column" layout](https://discuss.liferay.com/t/add-gap-settings-for-container-fragment-as-flex-row-or-flex-column-layout/393)

<div class="topic-metadata">

**Author:** [@ldetomi](https://discuss.liferay.com/u/ldetomi)\
**Replies:** 0\
**Last updated:** [February 27, 2026, 7:52am UTC](https://discuss.liferay.com/t/add-gap-settings-for-container-fragment-as-flex-row-or-flex-column-layout/393 "2026-02-27T07:52:47Z")

</div>

What is the problem you are trying to solve? Actually, a Container fragments can be set as “Flex” and in this way is possible to set many other css flex features like flex-wrap, align-items and so on. It miss the “gap”…

---

## [Ability to leave "emtpy" ALT attributes for images](https://discuss.liferay.com/t/ability-to-leave-emtpy-alt-attributes-for-images/382)

<div class="topic-metadata">

**Author:** [@ldetomi](https://discuss.liferay.com/u/ldetomi)\
**Replies:** 0\
**Last updated:** [February 25, 2026, 1:23pm UTC](https://discuss.liferay.com/t/ability-to-leave-emtpy-alt-attributes-for-images/382 "2026-02-25T13:23:41Z")

</div>

What is the problem you are trying to solve? An IMG with an empty ALT=”” attribute is different from another one that does not have it at all. Setting this attribute as empty means that the image is a pure decorative o…
