Skip to content

Commit 8a2dba5

Browse files
authored
Merge pull request #10027 from samuelreichert/update-combobox-editability
Add limitation about editable behavior without store value in Combo Box
2 parents d2fc012 + 32b2924 commit 8a2dba5

File tree

1 file changed

+12
-3
lines changed
  • content/en/docs/marketplace/platform-supported-content/widgets

1 file changed

+12
-3
lines changed

content/en/docs/marketplace/platform-supported-content/widgets/combobox.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ The **Multi selection (reference set)** section allows you to configure combo bo
9595
* **Selection Method** – configures the behavior for selecting options
9696
* **Checkbox** – displays a checkbox on the left side of each option. Selected items will be marked by check marks.
9797
* **Row click** – each selected item will be filtered out from the displayed options. Items can deselected by clicking the {{% icon name="remove" %}} on each of the displayed selected items.
98-
* **Show selected item as** – you can choose to display selected item as labels with {{% icon name="remove" %}} buttons which allow those items to be deselected (shown at the top of this screenshot), or as simple comma-separated text (shown at the bottom):
98+
* **Show selected item as** – you can choose to display selected item as labels with {{% icon name="remove" %}} buttons which allow those items to be deselected (shown at the top of this screenshot), or as simple comma-separated text (shown at the bottom):
9999

100100
{{< figure src="/attachments/appstore/platform-supported-content/widgets/combobox/combobox-showselected.png" alt="Show selected item as list or labels examples" class="no-border" >}}
101101
{{% alert color="info" %}}The **Show selected item as** property is only available for the **Checkbox** selection method without custom content.{{% /alert %}}
@@ -153,7 +153,7 @@ Using a **caption type** expression disables lazy load due to a technical limita
153153
This setting is only applicable for combo boxes with multiple item selections.
154154

155155
* **Selected items sorting** – allows user to configure the sorting mechanism to display the selected items.
156-
* **Caption** - if selected, this settings displays selected items based on their captions, regardless of user's selected sequence.
156+
* **Caption** - if selected, this settings displays selected items based on their captions, regardless of user's selected sequence.
157157
* **Default** - if selected, this settings does not do any sorting on the client side. Instead, it keeps the sorting from the saved values given from datasource.
158158
If the target attribute value is set (that is, if the multiple selection is set to **association**) the data will already sorted based on values from the API and combobox will display it as it is. Otherwise, if there is no target attribute (that is, if the multiple selection is set to **database**) the selected items are displayed based on user's selected sequence.
159159

@@ -168,8 +168,17 @@ For more information, see [Common Section](/refguide/common-widget-properties/#c
168168

169169
### Design Properties Section {#design-properties}
170170

171-
{{% snippet file="/static/_includes/refguide/design-section-link.md" %}}
171+
{{% snippet file="/static/_includes/refguide/design-section-link.md" %}}
172172

173173
### Common Section {#common-styling}
174174

175175
{{% snippet file="/static/_includes/refguide/common-section-link.md" %}}
176+
177+
178+
## Limitations {#limitations}
179+
180+
### Editable Behavior Without a Store Value
181+
182+
When using a combo box inside a data view, the widget relies on a store value attribute to determine its editable state. If no store value attribute is configured, the **Editability** setting of the data view (set to **Never** or **Conditionally**) will not be applied to the combo box. This occurs because, without a target attribute, the combo box has no reference for whether it should be editable.
183+
184+
**Workaround** — To ensure correct behavior, copy and paste the **Editability** setting from the data view directly into each combo box individually.

0 commit comments

Comments
 (0)