Skip to content

Commit 6d3a444

Browse files
Merge pull request mendix#9031 from gjulivan/development
update combobox and pop up menu
2 parents 5b51292 + 86f4484 commit 6d3a444

2 files changed

Lines changed: 33 additions & 5 deletions

File tree

content/en/docs/appstore/use-content/platform-supported-content/widgets/combobox.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Properties:
3535
* [General](#general)
3636
* [Events](#events)
3737
* [Accessibility](#accessibility)
38+
* [Advanced](#advanced)
3839
* [Common](#common)
3940

4041
Styling:
@@ -81,7 +82,6 @@ The static source type can be used to set the value of a string attribute with m
8182
The **General** section allows you to configure general behavior and captions for the combo box. The following configurations are available:
8283

8384
* **Placeholder text** – captions that will be displayed when there is no data being selected
84-
* **Filter type** – allows the user to type into the input and filter displayable options on the combo box
8585
* **No options text** – captions that will be used when filter results are empty, or shown when there is no data displayed in the combo box's options
8686
* **Clearable** – if enabled, this allows selected data to be cleared all at once
8787
* **Custom content** – allows custom widgets to be displayed in the combo box instead of normal text values
@@ -128,6 +128,34 @@ The following configurations are available:
128128

129129
The **Accessibility** tab allows you to configure settings for combo box accessibility features.
130130

131+
### Advanced Tab {#advanced}
132+
133+
The **Advanced** tab allows you to configure settings for features that is beyond the normal configurations.
134+
135+
* **Performance group**
136+
137+
* **Lazy loading** – allows the user to configure when to load the combo box's options data. Set it to **yes** to ensure that the data is not loaded until the user opens the options menu.
138+
* **Loading type** – allows the user to configure the loading animation of a combo box.
139+
140+
{{% alert color="info" %}}
141+
Lazy loading always fetches 100 data items for each request. Pagination is triggered when the user scrolls to the bottom of the options menu.
142+
{{% /alert %}}
143+
144+
{{% alert color="warning" %}}
145+
Using lazy loading with microflow or nanoflow data sources can result in performance issues if the microflow retrieves more than 100 items. Because of that, it is not currently recommended to use lazy loading with microflow or nanoflow data sources. This issue will be fixed in a future release.
146+
{{% /alert %}}
147+
148+
* **Multiple selection**
149+
This setting is only applicable for combo boxes with multiple item selections.
150+
151+
* **Selected items sorting** – allows user to configure the sorting mechanism to display the selected items.
152+
* **Caption** - if selected, this settings displays selected items based on their captions, regardless of user's selected sequence.
153+
* **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.
154+
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.
155+
156+
* **Filter**
157+
* **Filter type** – allows the user to type into the input and filter displayable options on the combo box.
158+
131159
### Common Tab {#common}
132160

133161
For more information, see [Common Section](/refguide/common-widget-properties/#common-properties) in *Properties Common in the Page Editor*.

content/en/docs/appstore/use-content/platform-supported-content/widgets/popup-menu.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ Other main properties of the widget are as follows:
4444
* Default: **Click**
4545
* **Menu position** – determines the location of a visible menu relative to the trigger area
4646
* Default: **Bottom**
47-
* **Custom visualization** – determines whether menu items can be composed of text or widgets
48-
* Default: **No**
49-
* Note that the on click action should still be configured on the menu items and not internal widgets
47+
* **Clipping strategy** – determines the relative positioning of floating elements on the page.
48+
* **Absolute** - positions the floating element relative to its nearest positioned ancestor.
49+
* **Fixed** - positions the floating element relative to the viewport. It breaks the element out of any clipping ancestor.
5050

51-
If you want to use dynamic content, make sure to wrap the widget in a [data view](/refguide/data-view/) and set **Custom visualization** to **Yes**.
51+
If you want to use dynamic content, make sure to wrap the widget in a [data view](/refguide/data-view/) and set **Enable advanced options** to **Yes**.

0 commit comments

Comments
 (0)