Skip to content
This repository has been archived by the owner on May 20, 2022. It is now read-only.

Commit

Permalink
feat(ant-select-web): set page to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
engalar committed Sep 13, 2021
1 parent e2e5e4b commit d33df6a
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/ant-select-web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ant-select-web",
"widgetName": "Select",
"version": "1.0.0",
"version": "1.0.1",
"description": "My widget description",
"copyright": "2020 Mendix Technology BV",
"author": "John",
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/ant-select-web/src/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const LOADING_STRING = "_-_";
export default function Select(props: SelectContainerProps) {
const [dropdownVisible, setDropdownVisible] = useState(false);
useMount(() => {
props.options.setLimit(10);
props.options.setLimit(100);
props.options.requestTotalCount(true);
});
const onChange = useCallback(
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/ant-select-web/src/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="Select" version="1.0.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="Select" version="1.0.1" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="Select.xml"/>
</widgetFiles>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,15 @@ public static void act_Random_300(IContext context)
Map<java.lang.String, Object> params = new HashMap<>();
Core.microflowCall("AntSelect.Act_Random_300").withParams(params).execute(context);
}
public static void act_Random_50000(IContext context)
public static void act_Random_5K(IContext context)
{
Map<java.lang.String, Object> params = new HashMap<>();
Core.microflowCall("AntSelect.Act_Random_50000").withParams(params).execute(context);
Core.microflowCall("AntSelect.Act_Random_5K").withParams(params).execute(context);
}
public static void act_Random_5M(IContext context)
{
Map<java.lang.String, Object> params = new HashMap<>();
Core.microflowCall("AntSelect.Act_Random_5M").withParams(params).execute(context);
}
public static void act_Random_Data(IContext context, java.lang.Long _radomCount)
{
Expand Down
Binary file modified testProject/testProject.mpr
Binary file not shown.
Empty file.
Binary file modified testProject/widgets/mendix.Select.mpk
Binary file not shown.

0 comments on commit d33df6a

Please sign in to comment.